aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/videos
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2023-05-10 16:23:55 +0200
committerChocobozzz <me@florianbigard.com>2023-05-10 16:23:55 +0200
commitc106db14136f1701a8b1eab8d7152395225e55e4 (patch)
tree7a44b5e62bfbf572195a568128334c05adc9480d /server/tests/api/videos
parentc17a55fbca5f1cbe0fbf7aac6b862eb47d01cb4f (diff)
downloadPeerTube-c106db14136f1701a8b1eab8d7152395225e55e4.tar.gz
PeerTube-c106db14136f1701a8b1eab8d7152395225e55e4.tar.zst
PeerTube-c106db14136f1701a8b1eab8d7152395225e55e4.zip
Fix tests
Diffstat (limited to 'server/tests/api/videos')
-rw-r--r--server/tests/api/videos/video-channel-syncs.ts2
-rw-r--r--server/tests/api/videos/video-channels.ts2
2 files changed, 2 insertions, 2 deletions
diff --git a/server/tests/api/videos/video-channel-syncs.ts b/server/tests/api/videos/video-channel-syncs.ts
index 12c2c158e..7f688c7d6 100644
--- a/server/tests/api/videos/video-channel-syncs.ts
+++ b/server/tests/api/videos/video-channel-syncs.ts
@@ -23,7 +23,7 @@ describe('Test channel synchronizations', function () {
23 23
24 describe('Sync using ' + mode, function () { 24 describe('Sync using ' + mode, function () {
25 let servers: PeerTubeServer[] 25 let servers: PeerTubeServer[]
26 let sqlCommands: SQLCommand[] 26 let sqlCommands: SQLCommand[] = []
27 27
28 let startTestDate: Date 28 let startTestDate: Date
29 29
diff --git a/server/tests/api/videos/video-channels.ts b/server/tests/api/videos/video-channels.ts
index c82ad6f16..8e2b7937c 100644
--- a/server/tests/api/videos/video-channels.ts
+++ b/server/tests/api/videos/video-channels.ts
@@ -25,7 +25,7 @@ async function findChannel (server: PeerTubeServer, channelId: number) {
25 25
26describe('Test video channels', function () { 26describe('Test video channels', function () {
27 let servers: PeerTubeServer[] 27 let servers: PeerTubeServer[]
28 let sqlCommands: SQLCommand[] 28 let sqlCommands: SQLCommand[] = []
29 29
30 let userInfo: User 30 let userInfo: User
31 let secondVideoChannelId: number 31 let secondVideoChannelId: number