Update to demonstrate unit test is actually failing due to incorrect values of invalidCredentials

- strongloop/loopback#944
This commit is contained in:
Ron Edgecomb 2014-12-22 15:39:47 -05:00
parent f6306f78f7
commit 3b4cadf7a3
1 changed files with 3 additions and 0 deletions

View File

@ -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();
}); });
}); });