| Index: tests/push-basic.sh
|
| diff --git a/tests/push-basic.sh b/tests/push-basic.sh
|
| index e98d58fc4fd176c1ab3ee4cf14fb9cdec0825182..980d7807478ba5db6bcd04236d8e16bb74b22d90 100755
|
| --- a/tests/push-basic.sh
|
| +++ b/tests/push-basic.sh
|
| @@ -44,8 +44,9 @@ setup_gitgit
|
| --data-urlencode xsrf_token="$(print_xsrf_token)" \
|
| $URL/edit
|
|
|
| + API=$(echo $URL | sed -e 's/\([0-9]\+\)$/api\/\1/')
|
| test_expect_success "Base URL contains branch name" \
|
| - "curl -s $($GIT_CL_STATUS --field=url) | grep 'URL:[[:space:]]*[^<]' | grep -q '@master'"
|
| + "curl -s $API | python -mjson.tool | grep base_url | grep -q '@master'"
|
|
|
| test_expect_success "git-cl land ok" \
|
| "$GIT_CL land -f --no-oauth2"
|
|
|