diff options
author | Jaime Martinez <jmartinez@gitlab.com> | 2020-05-28 07:50:18 +0300 |
---|---|---|
committer | Jaime Martinez <jmartinez@gitlab.com> | 2020-07-06 02:13:51 +0300 |
commit | fb2c26ff998b809baddeb9618aae52c49200bc8b (patch) | |
tree | 500310d07317b81acffab5d9efc2f64cf0d01fbf /acceptance_test.go | |
parent | cac920323f196072c28bee611a4ee9157316cd6f (diff) |
Find parent namepsace domain if auth fails for current project
Update labkit
Diffstat (limited to 'acceptance_test.go')
-rw-r--r-- | acceptance_test.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/acceptance_test.go b/acceptance_test.go index 6a49de8a..0ba5d18f 100644 --- a/acceptance_test.go +++ b/acceptance_test.go @@ -17,7 +17,6 @@ import ( "github.com/namsral/flag" "github.com/stretchr/testify/require" - "gotest.tools/assert" ) var pagesBinary = flag.String("gitlab-pages-binary", "./gitlab-pages", "Path to the gitlab-pages binary") @@ -251,7 +250,7 @@ func TestCustom404(t *testing.T) { require.NoError(t, err) defer rsp.Body.Close() - assert.Equal(t, http.StatusNotFound, rsp.StatusCode) + require.Equal(t, http.StatusNotFound, rsp.StatusCode) page, err := ioutil.ReadAll(rsp.Body) require.NoError(t, err) |