test: update bcrypt hash for 3.x

This commit is contained in:
Barış Soner Uşaklı
2025-02-26 12:06:45 -05:00
parent ca0fa1d347
commit bfffbfbe57

View File

@@ -760,7 +760,7 @@ describe('User', () => {
} else if (key !== 'password') {
assert.equal(data[key], userData[key]);
} else {
assert(userData[key].startsWith('$2a$'));
assert(userData[key].startsWith('$2b$'));
}
});
// updateProfile only saves valid fields