diff options
author | Chocobozzz <me@florianbigard.com> | 2021-10-14 08:30:17 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-10-14 08:30:17 +0200 |
commit | 87c0f718dc91514eb3674eda61a5ef6facef55ac (patch) | |
tree | dde4699471237b2bd522519ef04f8341db3ff00f /scripts | |
parent | 1cf0df024e58432da39fe2d1b317fb5c9ab8bd2e (diff) | |
download | PeerTube-87c0f718dc91514eb3674eda61a5ef6facef55ac.tar.gz PeerTube-87c0f718dc91514eb3674eda61a5ef6facef55ac.tar.zst PeerTube-87c0f718dc91514eb3674eda61a5ef6facef55ac.zip |
Fix benchmark test
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/benchmark.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/benchmark.ts b/scripts/benchmark.ts index c29b9abcd..007e3c33b 100644 --- a/scripts/benchmark.ts +++ b/scripts/benchmark.ts | |||
@@ -135,7 +135,7 @@ async function run () { | |||
135 | title: 'API - config', | 135 | title: 'API - config', |
136 | path: '/api/v1/config', | 136 | path: '/api/v1/config', |
137 | expecter: (body, status) => { | 137 | expecter: (body, status) => { |
138 | return status === 200 && body.startsWith('{"instance":') | 138 | return status === 200 && body.startsWith('{"allowEdits":') |
139 | } | 139 | } |
140 | } | 140 | } |
141 | ] | 141 | ] |