Skip to content

Commit

Permalink
Merge pull request googleapis#962 from stephenplusplus/spp--resource-…
Browse files Browse the repository at this point in the history
…travis-tests

resource: system tests: all errors should skip tests
  • Loading branch information
callmehiphop committed Nov 25, 2015
2 parents 9d676fc + b3d2af0 commit 6d89446
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 6d89446

Please sign in to comment.