Update to demonstrate unit test is actually failing due to incorrect values of invalidCredentials
- strongloop/loopback#944
This commit is contained in:
parent
f6306f78f7
commit
3b4cadf7a3
|
@ -223,6 +223,9 @@ describe('User', function() {
|
||||||
.expect(401)
|
.expect(401)
|
||||||
.send(invalidCredentials)
|
.send(invalidCredentials)
|
||||||
.end(function(err, res) {
|
.end(function(err, res) {
|
||||||
|
if (err) {
|
||||||
|
return done(err);
|
||||||
|
}
|
||||||
done();
|
done();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue