mirror of https://github.com/Chocobozzz/PeerTube
Fix job tests
parent
6b6168606b
commit
04291e1ba4
|
@ -48,7 +48,7 @@ describe('Test jobs', function () {
|
||||||
const job = res.body.data[0]
|
const job = res.body.data[0]
|
||||||
|
|
||||||
expect(job.state).to.equal('completed')
|
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.createdAt)).to.be.true
|
||||||
expect(dateIsValid(job.processedOn)).to.be.true
|
expect(dateIsValid(job.processedOn)).to.be.true
|
||||||
expect(dateIsValid(job.finishedOn)).to.be.true
|
expect(dateIsValid(job.finishedOn)).to.be.true
|
||||||
|
|
Loading…
Reference in New Issue