Skip to content

Commit

Permalink
resource: system tests: all errors should skip tests
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenplusplus committed Nov 25, 2015
1 parent 9681a03 commit b3d2af0
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions system-test/resource.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,12 +82,8 @@ describe('Resource', function() {
// See if an auth token exists.
authClient.getToken(function(err) {
if (err) {
if (err.code === 400) {
CAN_RUN_TESTS = false;
done();
} else {
done(err);
}
CAN_RUN_TESTS = false;
done();
return;
}

Expand Down

0 comments on commit b3d2af0

Please sign in to comment.