Fix the test as DAO now ignores undefined value for query
This commit is contained in:
parent
911c9f1e17
commit
757803f203
|
@ -44,7 +44,7 @@ describe('User', function(){
|
|||
assert.deepEqual(err, { name: 'ValidationError',
|
||||
message: 'Validation error',
|
||||
statusCode: 400,
|
||||
codes: { email: [ 'presence', 'format.blank' ] },
|
||||
codes: { email: [ 'presence', 'format.blank', 'uniqueness' ] },
|
||||
context: 'user' });
|
||||
|
||||
done();
|
||||
|
@ -313,4 +313,4 @@ describe('User', function(){
|
|||
});
|
||||
});
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue