]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/tests/api/notifications/comments-notifications.ts
Use an object to represent a server
[github/Chocobozzz/PeerTube.git] / server / tests / api / notifications / comments-notifications.ts
index 133b6340f24d4387fa8ae1d73d71f2273c447343..d54819aaabc0b3d9807c04a289fe8f97a0be745a 100644 (file)
@@ -9,7 +9,7 @@ import {
   cleanupTests,
   MockSmtpServer,
   prepareNotificationsTest,
-  ServerInfo,
+  PeerTubeServer,
   waitJobs
 } from '@shared/extra-utils'
 import { UserNotification } from '@shared/models'
@@ -17,7 +17,7 @@ import { UserNotification } from '@shared/models'
 const expect = chai.expect
 
 describe('Test comments notifications', function () {
-  let servers: ServerInfo[] = []
+  let servers: PeerTubeServer[] = []
   let userToken: string
   let userNotifications: UserNotification[] = []
   let emails: object[] = []