fix(users): Using the users entity in the use cases

This commit is contained in:
Daniel Gonzalez
2021-07-31 15:00:38 -04:00
parent d57085949c
commit c5a1eb6f81
2 changed files with 5 additions and 12 deletions
+1 -1
View File
@@ -57,7 +57,7 @@ describe('#users-use-case', () => {
} catch (err) {
// console.log(err)
// assert.equal(err.status, 422)
assert.include(err.message, 'Cannot read property')
assert.include(err.message, "Property 'email' must be a string!")
}
})