Index: tests/push-basic.sh |
diff --git a/tests/push-basic.sh b/tests/push-basic.sh |
index b68f8045b05b25c0f99e10834ab38b73989f9d2d..e98d58fc4fd176c1ab3ee4cf14fb9cdec0825182 100755 |
--- a/tests/push-basic.sh |
+++ b/tests/push-basic.sh |
@@ -21,7 +21,7 @@ setup_gitgit |
git add test; git commit -q -m "branch work" |
test_expect_success "git-cl upload wants a server" \ |
- "$GIT_CL upload 2>&1 | grep -q 'You must configure'" |
+ "$GIT_CL upload --no-oauth2 2>&1 | grep -q 'You must configure'" |
git config rietveld.server localhost:10000 |
@@ -31,7 +31,7 @@ setup_gitgit |
# Prevent the editor from coming up when you upload. |
export GIT_EDITOR=$(which true) |
test_expect_success "upload succeeds (needs a server running on localhost)" \ |
- "$GIT_CL upload -m test master | grep -q 'Issue created'" |
+ "$GIT_CL upload --no-oauth2 -m test master | grep -q 'Issue created'" |
test_expect_success "git-cl status now knows the issue" \ |
"$GIT_CL_STATUS | grep -q 'Issue number'" |
@@ -48,7 +48,7 @@ setup_gitgit |
"curl -s $($GIT_CL_STATUS --field=url) | grep 'URL:[[:space:]]*[^<]' | grep -q '@master'" |
test_expect_success "git-cl land ok" \ |
- "$GIT_CL land -f" |
+ "$GIT_CL land -f --no-oauth2" |
git checkout -q master > /dev/null 2>&1 |
git pull -q > /dev/null 2>&1 |