From 1029a06a8758988704a03ba9564660a1b5119caf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Thu, 22 Apr 2021 11:50:05 -0400 Subject: [PATCH] test: fix tests --- test/plugins.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/plugins.js b/test/plugins.js index 4bc48af007..21d0ff94b7 100644 --- a/test/plugins.js +++ b/test/plugins.js @@ -63,7 +63,7 @@ describe('Plugins', () => { plugins.hooks.register('test-plugin', { hook: 'filter:test.hook2', method: method2 }); const data = await plugins.hooks.fire('filter:test.hook2', { foo: 1 }); - assert.strictEqual(data.foo, 8); + assert.strictEqual(data.foo, 7); }); it('should register and fire a filter hook that returns a promise that gets rejected', (done) => {