Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-pages.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaime Martinez <jmartinez@gitlab.com>2020-05-28 07:50:18 +0300
committerJaime Martinez <jmartinez@gitlab.com>2020-07-06 02:13:51 +0300
commitfb2c26ff998b809baddeb9618aae52c49200bc8b (patch)
tree500310d07317b81acffab5d9efc2f64cf0d01fbf /acceptance_test.go
parentcac920323f196072c28bee611a4ee9157316cd6f (diff)
Find parent namepsace domain if auth fails for current project
Update labkit
Diffstat (limited to 'acceptance_test.go')
-rw-r--r--acceptance_test.go3
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)