diff options
author | Chocobozzz <me@florianbigard.com> | 2023-05-10 16:23:55 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2023-05-10 16:23:55 +0200 |
commit | c106db14136f1701a8b1eab8d7152395225e55e4 (patch) | |
tree | 7a44b5e62bfbf572195a568128334c05adc9480d /server/tests/api/videos | |
parent | c17a55fbca5f1cbe0fbf7aac6b862eb47d01cb4f (diff) | |
download | PeerTube-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.ts | 2 | ||||
-rw-r--r-- | server/tests/api/videos/video-channels.ts | 2 |
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 | ||
26 | describe('Test video channels', function () { | 26 | describe('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 |