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/notifications-api.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/notifications-api.ts')
-rw-r--r-- | server/tests/api/notifications/notifications-api.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/tests/api/notifications/notifications-api.ts b/server/tests/api/notifications/notifications-api.ts index 647d783b5..178b20687 100644 --- a/server/tests/api/notifications/notifications-api.ts +++ b/server/tests/api/notifications/notifications-api.ts | |||
@@ -9,7 +9,7 @@ import { | |||
9 | getAllNotificationsSettings, | 9 | getAllNotificationsSettings, |
10 | MockSmtpServer, | 10 | MockSmtpServer, |
11 | prepareNotificationsTest, | 11 | prepareNotificationsTest, |
12 | ServerInfo, | 12 | PeerTubeServer, |
13 | waitJobs | 13 | waitJobs |
14 | } from '@shared/extra-utils' | 14 | } from '@shared/extra-utils' |
15 | import { UserNotification, UserNotificationSettingValue } from '@shared/models' | 15 | import { UserNotification, UserNotificationSettingValue } from '@shared/models' |
@@ -17,7 +17,7 @@ import { UserNotification, UserNotificationSettingValue } from '@shared/models' | |||
17 | const expect = chai.expect | 17 | const expect = chai.expect |
18 | 18 | ||
19 | describe('Test notifications API', function () { | 19 | describe('Test notifications API', function () { |
20 | let server: ServerInfo | 20 | let server: PeerTubeServer |
21 | let userNotifications: UserNotification[] = [] | 21 | let userNotifications: UserNotification[] = [] |
22 | let userToken: string | 22 | let userToken: string |
23 | let emails: object[] = [] | 23 | let emails: object[] = [] |