Fixes failing user tetst

This commit is contained in:
Sebastian Rindom committed 2020-04-06 12:51:23 +02:00
1 parent 35e0930650
commit bc5dc5fab4
7 files changed
+18 -18

No files matched your search

@@ -79,7 +79,7 @@ describe("UserService", () => {
$set: {
// Since bcrypt hashing always varies, we are testing the password
// match by using a regular expression.
password: expect.stringMatching(
password_hash: expect.stringMatching(
/^\$2[aby]?\$[\d]+\$[./A-Za-z0-9]{53}$/
),
},