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:
authorTuomo Ala-Vannesluoma <tuomoav@gmail.com>2018-08-18 21:49:47 +0300
committerTuomo Ala-Vannesluoma <tuomoav@gmail.com>2018-08-18 21:55:06 +0300
commitf6edf4e90517c8ba0ffa3190f0b9db537f5f0e1b (patch)
tree9178fbdfeaef4b6f170754e6cf0229afb828cca0 /acceptance_test.go
parentaf8b9cd5df9bf6331b9494149d2e402d30bcea81 (diff)
Added checks for errors, refactored a bit to avoid method complexity increasing, fixed to work with custom ports and TLS enabled or not
Diffstat (limited to 'acceptance_test.go')
-rw-r--r--acceptance_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/acceptance_test.go b/acceptance_test.go
index 98db0203..31f4e3e5 100644
--- a/acceptance_test.go
+++ b/acceptance_test.go
@@ -709,7 +709,7 @@ func TestAccessControlUnderCustomDomain(t *testing.T) {
require.NoError(t, err)
state := url.Query().Get("state")
- assert.Equal(t, url.Query().Get("domain"), "private.domain.com")
+ assert.Equal(t, url.Query().Get("domain"), "http://private.domain.com")
pagesrsp, err := GetRedirectPage(t, httpListener, url.Host, url.Path+"?"+url.RawQuery)
require.NoError(t, err)