From: Chocobozzz Date: Wed, 29 Aug 2018 14:52:17 +0000 (+0200) Subject: Fix job tests X-Git-Tag: v1.0.0-beta.12~74 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=04291e1ba44032165388758e993d385a10c1c5a1;p=oweals%2Fpeertube.git Fix job tests --- 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 () { 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