Skip to content

Node.js based forum software built for the modern web

test: update pwd test for bcrypt3.x

Barış Soner Uşaklıca0fa1d34739
diff --git a/test/password.js b/test/password.js
index 4ad6d5a7e1..592d3a09af 100644
--- a/test/password.js
+++ b/test/password.js
@@ -9,7 +9,7 @@ describe('Password', () => {
describe('.hash()', () => {
it('should return a password hash when called', async () => {
const hash = await password.hash(12, 'test');
- assert(hash.startsWith('$2a$'));
+ assert(hash.startsWith('$2b$'));
});
});