]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/tests/activitypub.ts
Increase tests timeout
[github/Chocobozzz/PeerTube.git] / server / tests / activitypub.ts
index 94615c63f0895784f5e57e7e878bc1f0438978e1..9e29b0fa88b1fcf9a67cb56804e039331b9b325b 100644 (file)
@@ -10,7 +10,7 @@ describe('Test activitypub', function () {
   let server: ServerInfo = null
 
   before(async function () {
-    this.timeout(10000)
+    this.timeout(30000)
 
     await flushTests()
 
@@ -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')
   })