Skip to content

Node.js based forum software built for the modern web

test: fix tests

Barış Soner Uşaklı1029a06a8758
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) => {