X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=server%2Ftests%2Factivitypub.ts;h=c8884719de5ebfe37eed3a4dab44bcdaa54ecbeb;hb=9bce811268cd74b402176ae9fcd8b77ac887576e;hp=94615c63f0895784f5e57e7e878bc1f0438978e1;hpb=c5d31dba56d669c0df0209761c43c5a6ac7cec4a;p=github%2FChocobozzz%2FPeerTube.git diff --git a/server/tests/activitypub.ts b/server/tests/activitypub.ts index 94615c63f..c8884719d 100644 --- a/server/tests/activitypub.ts +++ b/server/tests/activitypub.ts @@ -20,11 +20,11 @@ describe('Test activitypub', function () { }) it('Should return the account object', async function () { - const res = await makeActivityPubGetRequest(server.url, '/account/root') + const res = await makeActivityPubGetRequest(server.url, '/accounts/root') const object = res.body expect(object.type).to.equal('Person') - expect(object.id).to.equal('http://localhost:9001/account/root') + expect(object.id).to.equal('http://localhost:9001/accounts/root') expect(object.name).to.equal('root') expect(object.preferredUsername).to.equal('root') })