X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;f=test%2Fsrc%2Fmanager.js;fp=test%2Fsrc%2Fmanager.js;h=d3ddfb7b5517f0d94f5d5488fc76ff90ac29836b;hb=71587de3ea9839d14d9f7bffa6c1db19e52dd9b5;hp=9d8c380ff3b300b25d2841de4dffea19b6b05cf5;hpb=749801f9983b087aee6844ee5fa0f0a7419ec5db;p=websub-hub diff --git a/test/src/manager.js b/test/src/manager.js index 9d8c380..d3ddfb7 100644 --- a/test/src/manager.js +++ b/test/src/manager.js @@ -398,7 +398,7 @@ describe('Manager', function () { describe('_getRootData', function () { it('extracts expected values', function () { req.getHeader.returns('user@example.com'); - ctx = Object.assign({}, testData.validSubscribeCtx) + ctx = Object.assign({}, testData.validSubscribeCtx); const result = Manager._getRootData(req, ctx); assert.deepStrictEqual(result, testData.validRootData); }); @@ -791,7 +791,7 @@ describe('Manager', function () { assert(manager.db.topicFetchRequested.called); assert.strictEqual(res.statusCode, 202); assert(res.end.called); - assert(manager.communication.topicFetchClaimAndProcessById.called) + assert(manager.communication.topicFetchClaimAndProcessById.called); }); it('covers no immediate processing', async function() { manager.options.manager.processImmediately = false; @@ -803,7 +803,7 @@ describe('Manager', function () { assert(manager.db.topicFetchRequested.called); assert.strictEqual(res.statusCode, 202); assert(res.end.called); - assert(!manager.communication.topicFetchClaimAndProcessById.called) + assert(!manager.communication.topicFetchClaimAndProcessById.called); }); }); // _publishRequest