ActivityPub-federated video streaming platform using P2P directly in your web browser
Fix misc endpoints tests
Chocobozzzb7f1bc0c3339
diff --git a/packages/tests/src/misc-endpoints.ts b/packages/tests/src/misc-endpoints.tsindex 3ae0c7b173..eab3bdde5c 100644--- a/packages/tests/src/misc-endpoints.ts+++ b/packages/tests/src/misc-endpoints.ts@@ -212,11 +212,11 @@ describe('Test misc endpoints', function () {expect(res.text).to.contain('<video:title>video 2</video:title>')expect(res.text).to.not.contain('<video:title>video 3</video:title>')- expect(res.text).to.contain('<url><loc>' + server.url + '/video-channels/channel1</loc></url>')- expect(res.text).to.contain('<url><loc>' + server.url + '/video-channels/channel2</loc></url>')+ expect(res.text).to.contain('<url><loc>' + server.url + '/c/channel1</loc></url>')+ expect(res.text).to.contain('<url><loc>' + server.url + '/c/channel2</loc></url>')- expect(res.text).to.contain('<url><loc>' + server.url + '/accounts/user1</loc></url>')- expect(res.text).to.contain('<url><loc>' + server.url + '/accounts/user2</loc></url>')+ expect(res.text).to.contain('<url><loc>' + server.url + '/a/user1</loc></url>')+ expect(res.text).to.contain('<url><loc>' + server.url + '/a/user2</loc></url>')})it('Should not fail with big title/description videos', async function () {diff --git a/scripts/ci.sh b/scripts/ci.shindex e242893453..9544daf91c 100755--- a/scripts/ci.sh+++ b/scripts/ci.sh@@ -59,7 +59,7 @@ elif [ "$1" = "client" ]; thenfeedsFiles=$(findTestFiles ./packages/tests/dist/feeds)clientFiles=$(findTestFiles ./packages/tests/dist/client)- miscFiles="./packages/tests/dist/client.js ./packages/tests/dist/misc-endpoints.js"+ miscFiles="./packages/tests/dist/misc-endpoints.js"# Not in their own task, they need an index.htmlpluginFiles="./packages/tests/dist/plugins/html-injection.js ./packages/tests/dist/api/server/plugins.js"