diff options
author | Chocobozzz <me@florianbigard.com> | 2021-07-16 09:47:51 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-07-20 15:27:18 +0200 |
commit | 254d3579f5338f5fd775c17d15cdfc37078bcfb4 (patch) | |
tree | eaeb13fda16c16e98cd6991d202b0ca6a4cbdb63 /server/tests/api/notifications/user-notifications.ts | |
parent | 89d241a79c262b9775c233b73cff080043ebb5e6 (diff) | |
download | PeerTube-254d3579f5338f5fd775c17d15cdfc37078bcfb4.tar.gz PeerTube-254d3579f5338f5fd775c17d15cdfc37078bcfb4.tar.zst PeerTube-254d3579f5338f5fd775c17d15cdfc37078bcfb4.zip |
Use an object to represent a server
Diffstat (limited to 'server/tests/api/notifications/user-notifications.ts')
-rw-r--r-- | server/tests/api/notifications/user-notifications.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/tests/api/notifications/user-notifications.ts b/server/tests/api/notifications/user-notifications.ts index 53f8c7594..b7c22d118 100644 --- a/server/tests/api/notifications/user-notifications.ts +++ b/server/tests/api/notifications/user-notifications.ts | |||
@@ -13,7 +13,7 @@ import { | |||
13 | ImportsCommand, | 13 | ImportsCommand, |
14 | MockSmtpServer, | 14 | MockSmtpServer, |
15 | prepareNotificationsTest, | 15 | prepareNotificationsTest, |
16 | ServerInfo, | 16 | PeerTubeServer, |
17 | uploadRandomVideoOnServers, | 17 | uploadRandomVideoOnServers, |
18 | wait, | 18 | wait, |
19 | waitJobs | 19 | waitJobs |
@@ -23,7 +23,7 @@ import { UserNotification, UserNotificationType, VideoPrivacy } from '@shared/mo | |||
23 | const expect = chai.expect | 23 | const expect = chai.expect |
24 | 24 | ||
25 | describe('Test user notifications', function () { | 25 | describe('Test user notifications', function () { |
26 | let servers: ServerInfo[] = [] | 26 | let servers: PeerTubeServer[] = [] |
27 | let userAccessToken: string | 27 | let userAccessToken: string |
28 | let userNotifications: UserNotification[] = [] | 28 | let userNotifications: UserNotification[] = [] |
29 | let adminNotifications: UserNotification[] = [] | 29 | let adminNotifications: UserNotification[] = [] |