From 0195894a50fc615300f3015c4c31fa985cb2f2a7 Mon Sep 17 00:00:00 2001 From: Margo Crawford Date: Thu, 2 Sep 2021 17:34:18 -0700 Subject: [PATCH] Test fix for ldap upstream watcher --- .../ldapupstreamwatcher/ldap_upstream_watcher_test.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/internal/controller/supervisorconfig/ldapupstreamwatcher/ldap_upstream_watcher_test.go b/internal/controller/supervisorconfig/ldapupstreamwatcher/ldap_upstream_watcher_test.go index 169936402..71b62aa9c 100644 --- a/internal/controller/supervisorconfig/ldapupstreamwatcher/ldap_upstream_watcher_test.go +++ b/internal/controller/supervisorconfig/ldapupstreamwatcher/ldap_upstream_watcher_test.go @@ -616,10 +616,7 @@ func TestLDAPUpstreamWatcherControllerSync(t *testing.T) { }, }, }}, - wantValidatedSettings: map[string]upstreamwatchers.ValidatedSettings{testName: { - UserSearchBase: testUserSearchBase, - GroupSearchBase: testGroupSearchBase, - }}, + wantValidatedSettings: map[string]upstreamwatchers.ValidatedSettings{}, }, { name: "non-nil TLS configuration with empty CertificateAuthorityData is valid",