diff options
author | Chocobozzz <me@florianbigard.com> | 2018-08-29 16:52:17 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-08-30 15:03:19 +0200 |
commit | 04291e1ba44032165388758e993d385a10c1c5a1 (patch) | |
tree | 4203a21c1cd1fc981597048298499bdc93b58924 | |
parent | 6b6168606bc86430f6b7821c9d5f1c80d0425ebf (diff) | |
download | PeerTube-04291e1ba44032165388758e993d385a10c1c5a1.tar.gz PeerTube-04291e1ba44032165388758e993d385a10c1c5a1.tar.zst PeerTube-04291e1ba44032165388758e993d385a10c1c5a1.zip |
Fix job tests
-rw-r--r-- | server/tests/api/server/jobs.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/tests/api/server/jobs.ts b/server/tests/api/server/jobs.ts index f248c5521..b2922c5da 100644 --- a/server/tests/api/server/jobs.ts +++ b/server/tests/api/server/jobs.ts | |||
@@ -48,7 +48,7 @@ describe('Test jobs', function () { | |||
48 | const job = res.body.data[0] | 48 | const job = res.body.data[0] |
49 | 49 | ||
50 | expect(job.state).to.equal('completed') | 50 | expect(job.state).to.equal('completed') |
51 | expect(job.type).to.equal('activitypub-http-unicast') | 51 | expect(job.type).to.equal('activitypub-follow') |
52 | expect(dateIsValid(job.createdAt)).to.be.true | 52 | expect(dateIsValid(job.createdAt)).to.be.true |
53 | expect(dateIsValid(job.processedOn)).to.be.true | 53 | expect(dateIsValid(job.processedOn)).to.be.true |
54 | expect(dateIsValid(job.finishedOn)).to.be.true | 54 | expect(dateIsValid(job.finishedOn)).to.be.true |