aboutsummaryrefslogtreecommitdiffhomepage
path: root/server
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-08-29 16:52:17 +0200
committerChocobozzz <me@florianbigard.com>2018-08-30 15:03:19 +0200
commit04291e1ba44032165388758e993d385a10c1c5a1 (patch)
tree4203a21c1cd1fc981597048298499bdc93b58924 /server
parent6b6168606bc86430f6b7821c9d5f1c80d0425ebf (diff)
downloadPeerTube-04291e1ba44032165388758e993d385a10c1c5a1.tar.gz
PeerTube-04291e1ba44032165388758e993d385a10c1c5a1.tar.zst
PeerTube-04291e1ba44032165388758e993d385a10c1c5a1.zip
Fix job tests
Diffstat (limited to 'server')
-rw-r--r--server/tests/api/server/jobs.ts2
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