Diff options
Diffstat (limited to 'tests/t0505-auth.sh')
| -rwxr-xr-x | tests/t0505-auth.sh | 2 |
1 file changed, 1 insertion, 1 deletion
diff --git a/tests/t0505-auth.sh b/tests/t0505-auth.sh index 3ae134d..7dd4a36 100755 --- a/tests/t0505-auth.sh +++ b/tests/t0505-auth.sh @@ -69,7 +69,7 @@ test_expect_success CGIT_LUA_NOAUTH 'without the modules a protected repository repo.url=authy repo.path=$PWD/repos/authy/.git EOF - CGIT_CONFIG="$PWD/guardedrc" QUERY_STRING="url=authy/log/" cgit >tmp && + cgit_rc guardedrc "url=authy/log/" >tmp && ! grep "guarded commit" tmp && grep "Unable to complete the request" tmp ' |
