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/domain/domain_test.go')
-rw-r--r--internal/domain/domain_test.go10
1 files changed, 10 insertions, 0 deletions
diff --git a/internal/domain/domain_test.go b/internal/domain/domain_test.go
index a05dbe7e..14e399ad 100644
--- a/internal/domain/domain_test.go
+++ b/internal/domain/domain_test.go
@@ -226,6 +226,16 @@ func TestHasAcmeChallenge(t *testing.T) {
expected: true,
},
{
+ name: "Project containing acme challenge",
+ domain: &D{
+ group: group{name: "group.acme"},
+ projectName: "with.acme.challenge",
+ config: &domainConfig{HTTPSOnly: true},
+ },
+ token: "foldertoken",
+ expected: true,
+ },
+ {
name: "Project containing another token",
domain: &D{
group: group{name: "group.acme"},