Skip to content

Node.js based forum software built for the modern web

fix: redis/psql

Barış Soner Uşaklıdeca5e6715f6
diff --git a/test/database/keys.js b/test/database/keys.js
index 84a3a7d495..ead0a3ba86 100644
--- a/test/database/keys.js
+++ b/test/database/keys.js
@@ -47,7 +47,7 @@ describe('Key methods', () => {
it('should return 0 if value of key is 0', async () => {
await db.set('zeroKey', 0);
const value = await db.mget(['zeroKey']);
- assert.strictEqual(value[0], 0);
+ assert.strictEqual(String(value[0]), '0');
});
it('should return true if key exist', (done) => {