aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/cli
diff options
context:
space:
mode:
Diffstat (limited to 'server/tests/cli')
-rw-r--r--server/tests/cli/prune-storage.ts5
1 files changed, 3 insertions, 2 deletions
diff --git a/server/tests/cli/prune-storage.ts b/server/tests/cli/prune-storage.ts
index 052a5f91e..591ed217f 100644
--- a/server/tests/cli/prune-storage.ts
+++ b/server/tests/cli/prune-storage.ts
@@ -24,6 +24,7 @@ import { Account, VideoPlaylistPrivacy } from '../../../shared/models'
24import { createFile, readdir } from 'fs-extra' 24import { createFile, readdir } from 'fs-extra'
25import { v4 as uuidv4 } from 'uuid' 25import { v4 as uuidv4 } from 'uuid'
26import { join } from 'path' 26import { join } from 'path'
27import { HttpStatusCode } from '../../../shared/core-utils/miscs/http-error-codes'
27 28
28const expect = chai.expect 29const expect = chai.expect
29 30
@@ -98,7 +99,7 @@ describe('Test prune storage scripts', function () {
98 await makeGetRequest({ 99 await makeGetRequest({
99 url: servers[0].url, 100 url: servers[0].url,
100 path: account.avatar.path, 101 path: account.avatar.path,
101 statusCodeExpected: 200 102 statusCodeExpected: HttpStatusCode.OK_200
102 }) 103 })
103 } 104 }
104 105
@@ -108,7 +109,7 @@ describe('Test prune storage scripts', function () {
108 await makeGetRequest({ 109 await makeGetRequest({
109 url: servers[1].url, 110 url: servers[1].url,
110 path: account.avatar.path, 111 path: account.avatar.path,
111 statusCodeExpected: 200 112 statusCodeExpected: HttpStatusCode.OK_200
112 }) 113 })
113 } 114 }
114 115