Small formatting update to have consistency with identical logic in other areas.

- strongloop/loopback#944
This commit is contained in:
Ron Edgecomb 2014-12-22 17:24:30 -05:00
parent 36112d2b50
commit 9ac620c113
1 changed files with 3 additions and 1 deletions

View File

@ -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');