diff options
author | Tuomo Ala-Vannesluoma <tuomoav@gmail.com> | 2018-07-01 21:57:49 +0300 |
---|---|---|
committer | Tuomo Ala-Vannesluoma <tuomoav@gmail.com> | 2018-07-02 17:59:24 +0300 |
commit | e9253d07ddad509465d64ca58400e527bc378da9 (patch) | |
tree | f57eb18b7a9c51570db25e3b988bc45a0b3d63e6 /acceptance_test.go | |
parent | 9681f91e84e78035f48f85c320ae1a3aa4b6ee07 (diff) |
Add debug logging
Diffstat (limited to 'acceptance_test.go')
-rw-r--r-- | acceptance_test.go | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/acceptance_test.go b/acceptance_test.go index e21d0435..c095b4ba 100644 --- a/acceptance_test.go +++ b/acceptance_test.go @@ -670,7 +670,7 @@ func TestWhenLoginCallbackWithCorrectStateWithoutEndpoint(t *testing.T) { } func TestAccessControl(t *testing.T) { - skipUnlessEnabled(t) + skipUnlessEnabled(t, "not-inplace-chroot") transport := (TestHTTPSClient.Transport).(*http.Transport) defer func(t time.Duration) { @@ -749,6 +749,13 @@ func TestAccessControl(t *testing.T) { false, "no project should redirect to login and then return 404", }, + { + "nonexistent.gitlab-example.com", + "/nonexistent/", + http.StatusNotFound, + false, + "no project should redirect to login and then return 404", + }, } for _, c := range cases { |