projects
/
oweals
/
peertube.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6b61686
)
Fix job tests
author
Chocobozzz
<me@florianbigard.com>
Wed, 29 Aug 2018 14:52:17 +0000
(16:52 +0200)
committer
Chocobozzz
<me@florianbigard.com>
Thu, 30 Aug 2018 13:03:19 +0000
(15:03 +0200)
server/tests/api/server/jobs.ts
patch
|
blob
|
history
diff --git
a/server/tests/api/server/jobs.ts
b/server/tests/api/server/jobs.ts
index f248c55219f7de300c7ce57d09a31e8c296b0d84..b2922c5da73d1ba25212f03e5e0c67575b5fe3a1 100644
(file)
--- a/
server/tests/api/server/jobs.ts
+++ b/
server/tests/api/server/jobs.ts
@@
-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