Small formatting update to have consistency with identical logic in other areas.
- strongloop/loopback#944
This commit is contained in:
parent
36112d2b50
commit
9ac620c113
|
@ -582,7 +582,9 @@ describe('User', function() {
|
|||
assert(token);
|
||||
|
||||
return function(err) {
|
||||
if (err) return done(err);
|
||||
if (err) {
|
||||
return done(err);
|
||||
}
|
||||
|
||||
AccessToken.findById(token, function(err, accessToken) {
|
||||
assert(!accessToken, 'accessToken should not exist after logging out');
|
||||
|
|
Loading…
Reference in New Issue