aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-03-24 13:42:12 +0100
committerChocobozzz <me@florianbigard.com>2022-03-24 13:42:12 +0100
commit68a4b1e587150e58bc8471fd32c6d7316095afa4 (patch)
tree1cb1d3c2af782a02a1c80b0f24894fc101e8b4c2
parenta219c9100b3ce8774d454497d46be87465bf664e (diff)
downloadPeerTube-68a4b1e587150e58bc8471fd32c6d7316095afa4.tar.gz
PeerTube-68a4b1e587150e58bc8471fd32c6d7316095afa4.tar.zst
PeerTube-68a4b1e587150e58bc8471fd32c6d7316095afa4.zip
Fix benchmark tests
-rw-r--r--scripts/benchmark.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/benchmark.ts b/scripts/benchmark.ts
index 37c740131..623c11e27 100644
--- a/scripts/benchmark.ts
+++ b/scripts/benchmark.ts
@@ -55,7 +55,7 @@ async function run () {
55 path: '/accounts/peertube', 55 path: '/accounts/peertube',
56 headers: buildAPHeader(), 56 headers: buildAPHeader(),
57 expecter: (body, status) => { 57 expecter: (body, status) => {
58 return status === 200 && body.startsWith('{"type":') 58 return status === 200 && body.startsWith('{"@context":')
59 } 59 }
60 }, 60 },
61 { 61 {
@@ -63,7 +63,7 @@ async function run () {
63 path: '/videos/watch/' + video.uuid, 63 path: '/videos/watch/' + video.uuid,
64 headers: buildAPHeader(), 64 headers: buildAPHeader(),
65 expecter: (body, status) => { 65 expecter: (body, status) => {
66 return status === 200 && body.startsWith('{"type":"Video"') 66 return status === 200 && body.startsWith('{"@context":')
67 } 67 }
68 }, 68 },
69 { 69 {