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 | |
parent | c17a55fbca5f1cbe0fbf7aac6b862eb47d01cb4f (diff) | |
download | PeerTube-c106db14136f1701a8b1eab8d7152395225e55e4.tar.gz PeerTube-c106db14136f1701a8b1eab8d7152395225e55e4.tar.zst PeerTube-c106db14136f1701a8b1eab8d7152395225e55e4.zip |
Fix tests
Diffstat (limited to 'server')
-rw-r--r-- | server/tests/api/activitypub/security.ts | 2 | ||||
-rw-r--r-- | server/tests/api/object-storage/videos.ts | 2 | ||||
-rw-r--r-- | server/tests/api/server/handle-down.ts | 2 | ||||
-rw-r--r-- | server/tests/api/videos/video-channel-syncs.ts | 2 | ||||
-rw-r--r-- | server/tests/api/videos/video-channels.ts | 2 | ||||
-rw-r--r-- | server/tests/api/views/videos-views-cleaner.ts | 2 |
6 files changed, 6 insertions, 6 deletions
diff --git a/server/tests/api/activitypub/security.ts b/server/tests/api/activitypub/security.ts index d6a07b87f..6cf504f6f 100644 --- a/server/tests/api/activitypub/security.ts +++ b/server/tests/api/activitypub/security.ts | |||
@@ -71,7 +71,7 @@ async function makeFollowRequest (to: { url: string }, by: { url: string, privat | |||
71 | 71 | ||
72 | describe('Test ActivityPub security', function () { | 72 | describe('Test ActivityPub security', function () { |
73 | let servers: PeerTubeServer[] | 73 | let servers: PeerTubeServer[] |
74 | let sqlCommands: SQLCommand[] | 74 | let sqlCommands: SQLCommand[] = [] |
75 | 75 | ||
76 | let url: string | 76 | let url: string |
77 | 77 | ||
diff --git a/server/tests/api/object-storage/videos.ts b/server/tests/api/object-storage/videos.ts index fe0720294..77bb00678 100644 --- a/server/tests/api/object-storage/videos.ts +++ b/server/tests/api/object-storage/videos.ts | |||
@@ -144,7 +144,7 @@ function runTestSuite (options: { | |||
144 | let baseMockUrl: string | 144 | let baseMockUrl: string |
145 | 145 | ||
146 | let servers: PeerTubeServer[] | 146 | let servers: PeerTubeServer[] |
147 | let sqlCommands: SQLCommand[] | 147 | let sqlCommands: SQLCommand[] = [] |
148 | 148 | ||
149 | let keptUrls: string[] = [] | 149 | let keptUrls: string[] = [] |
150 | 150 | ||
diff --git a/server/tests/api/server/handle-down.ts b/server/tests/api/server/handle-down.ts index 0bbd9ef47..3a73ab1d2 100644 --- a/server/tests/api/server/handle-down.ts +++ b/server/tests/api/server/handle-down.ts | |||
@@ -16,7 +16,7 @@ import { | |||
16 | 16 | ||
17 | describe('Test handle downs', function () { | 17 | describe('Test handle downs', function () { |
18 | let servers: PeerTubeServer[] = [] | 18 | let servers: PeerTubeServer[] = [] |
19 | let sqlCommands: SQLCommand[] | 19 | let sqlCommands: SQLCommand[] = [] |
20 | 20 | ||
21 | let threadIdServer1: number | 21 | let threadIdServer1: number |
22 | let threadIdServer2: number | 22 | let threadIdServer2: number |
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 |
diff --git a/server/tests/api/views/videos-views-cleaner.ts b/server/tests/api/views/videos-views-cleaner.ts index fce2d538c..a84cd43c7 100644 --- a/server/tests/api/views/videos-views-cleaner.ts +++ b/server/tests/api/views/videos-views-cleaner.ts | |||
@@ -15,7 +15,7 @@ import { | |||
15 | 15 | ||
16 | describe('Test video views cleaner', function () { | 16 | describe('Test video views cleaner', function () { |
17 | let servers: PeerTubeServer[] | 17 | let servers: PeerTubeServer[] |
18 | let sqlCommands: SQLCommand[] | 18 | let sqlCommands: SQLCommand[] = [] |
19 | 19 | ||
20 | let videoIdServer1: string | 20 | let videoIdServer1: string |
21 | let videoIdServer2: string | 21 | let videoIdServer2: string |