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:
Diffstat (limited to 'internal/acme/acme_test.go')
-rw-r--r--internal/acme/acme_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/acme/acme_test.go b/internal/acme/acme_test.go
index 1c3025d9..225d1dc4 100644
--- a/internal/acme/acme_test.go
+++ b/internal/acme/acme_test.go
@@ -51,7 +51,7 @@ func TestServeAcmeChallengeMalformed(t *testing.T) {
}
func TestServeAcmeChallengeWhenPresent(t *testing.T) {
- require.HTTPStatusCode(t, serveAcmeOrNotFound(middleware, domainWithChallenge), http.MethodGet, challengeURL, nil, http.StatusNotFound)
+ require.HTTPStatusCode(t, serveAcmeOrNotFound(middleware, domainWithChallenge), http.MethodGet, challengeURL, nil, http.StatusOK)
}
func TestServeAcmeChallengeWhenMissing(t *testing.T) {