Fix job tests

pull/986/head
Chocobozzz 2018-08-29 16:52:17 +02:00
parent 6b6168606b
commit 04291e1ba4
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 1 additions and 1 deletions

View 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