Index: tests/save-description-on-failure.sh |
diff --git a/tests/save-description-on-failure.sh b/tests/save-description-on-failure.sh |
index 35846885a539298cbfea019e710f90d94ab734a3..1297fa02cd0146630f7a93808f708569afd1a6bd 100755 |
--- a/tests/save-description-on-failure.sh |
+++ b/tests/save-description-on-failure.sh |
@@ -34,7 +34,8 @@ setup_gitgit |
# Try to upload the change to an unresolvable hostname; git-cl should fail. |
export GIT_EDITOR=$(which true) |
git config rietveld.server bogus.example.com:80 |
- test_expect_failure "uploading to bogus server" "$GIT_CL upload 2>/dev/null" |
+ test_expect_failure "uploading to bogus server" \ |
+ "$GIT_CL upload --no-oauth2 2>/dev/null" |
# Check that the change's description was saved. |
test_expect_success "description was backed up" \ |