Fix benchmark tests

pull/4897/head
Chocobozzz 2022-03-24 13:42:12 +01:00
parent a219c9100b
commit 68a4b1e587
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 2 additions and 2 deletions

View File

@ -55,7 +55,7 @@ async function run () {
path: '/accounts/peertube',
headers: buildAPHeader(),
expecter: (body, status) => {
return status === 200 && body.startsWith('{"type":')
return status === 200 && body.startsWith('{"@context":')
}
},
{
@ -63,7 +63,7 @@ async function run () {
path: '/videos/watch/' + video.uuid,
headers: buildAPHeader(),
expecter: (body, status) => {
return status === 200 && body.startsWith('{"type":"Video"')
return status === 200 && body.startsWith('{"@context":')
}
},
{