diff options
Diffstat (limited to 'acceptance_test.go')
-rw-r--r-- | acceptance_test.go | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/acceptance_test.go b/acceptance_test.go index 02c71f1d..7817bf81 100644 --- a/acceptance_test.go +++ b/acceptance_test.go @@ -1900,6 +1900,17 @@ func TestDomainsSource(t *testing.T) { apiCalled: false, }, }, + { + name: "disk_source_domain_should_not_exist_under_hashed_dir", + args: args{ + configSource: "disk", + domain: "hashed.com", + }, + want: want{ + statusCode: http.StatusNotFound, + apiCalled: false, + }, + }, // TODO: modify mock so we can test domain-config-source=auto when API/disk is not ready https://gitlab.com/gitlab-org/gitlab/-/issues/218358 } |