Fix job tests
authorChocobozzz <me@florianbigard.com>
Wed, 29 Aug 2018 14:52:17 +0000 (16:52 +0200)
committerChocobozzz <me@florianbigard.com>
Thu, 30 Aug 2018 13:03:19 +0000 (15:03 +0200)
server/tests/api/server/jobs.ts

index f248c55219f7de300c7ce57d09a31e8c296b0d84..b2922c5da73d1ba25212f03e5e0c67575b5fe3a1 100644 (file)
@@ -48,7 +48,7 @@ describe('Test jobs', function () {
     const job = res.body.data[0]
 
     expect(job.state).to.equal('completed')
-    expect(job.type).to.equal('activitypub-http-unicast')
+    expect(job.type).to.equal('activitypub-follow')
     expect(dateIsValid(job.createdAt)).to.be.true
     expect(dateIsValid(job.processedOn)).to.be.true
     expect(dateIsValid(job.finishedOn)).to.be.true