diff options
Diffstat (limited to 'server/tests/api/server/bulk.ts')
-rw-r--r-- | server/tests/api/server/bulk.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/tests/api/server/bulk.ts b/server/tests/api/server/bulk.ts index 7c8b40cbe..1fe26bb26 100644 --- a/server/tests/api/server/bulk.ts +++ b/server/tests/api/server/bulk.ts | |||
@@ -77,7 +77,7 @@ describe('Test bulk actions', function () { | |||
77 | const { data } = await servers[1].comments.listThreads({ videoId: video.id }) | 77 | const { data } = await servers[1].comments.listThreads({ videoId: video.id }) |
78 | const comment = data.find(c => c.text === 'comment by user 3') | 78 | const comment = data.find(c => c.text === 'comment by user 3') |
79 | 79 | ||
80 | if (video.account.host === 'localhost:' + servers[0].port) { | 80 | if (video.account.host === servers[0].host) { |
81 | expect(comment).to.not.exist | 81 | expect(comment).to.not.exist |
82 | } else { | 82 | } else { |
83 | expect(comment).to.exist | 83 | expect(comment).to.exist |
@@ -151,7 +151,7 @@ describe('Test bulk actions', function () { | |||
151 | 151 | ||
152 | await bulkCommand.removeCommentsOf({ | 152 | await bulkCommand.removeCommentsOf({ |
153 | attributes: { | 153 | attributes: { |
154 | accountName: 'user3@localhost:' + servers[1].port, | 154 | accountName: 'user3@' + servers[1].host, |
155 | scope: 'instance' | 155 | scope: 'instance' |
156 | } | 156 | } |
157 | }) | 157 | }) |