diff options
| author | James Elliott <james-d-elliott@users.noreply.github.com> | 2022-10-02 07:44:18 +1100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-10-02 07:44:18 +1100 |
| commit | 66ea374227fde256adc95c084b4e18cba343c774 (patch) | |
| tree | 1209a421a86ec771241015c602e30aabc034a43f /internal/authentication/ldap_user_provider_test.go | |
| parent | 56b6fd615b7880d46c7860413ed57ec37d0106a8 (diff) | |
feat(authentication): permit feature detection failures (#4061)
This adds a configuration option which permits the failure of feature detection (control type OIDs and extension OIDs).
Diffstat (limited to 'internal/authentication/ldap_user_provider_test.go')
| -rw-r--r-- | internal/authentication/ldap_user_provider_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/authentication/ldap_user_provider_test.go b/internal/authentication/ldap_user_provider_test.go index a63cb1091..2123ad4dd 100644 --- a/internal/authentication/ldap_user_provider_test.go +++ b/internal/authentication/ldap_user_provider_test.go @@ -489,7 +489,7 @@ func TestShouldReturnCheckServerSearchError(t *testing.T) { gomock.InOrder(dialURL, connBind, searchOIDs, connClose) err := ldapClient.StartupCheck() - assert.EqualError(t, err, "could not perform the search") + assert.EqualError(t, err, "error occurred during RootDSE search: could not perform the search") assert.False(t, ldapClient.features.Extensions.PwdModifyExOp) } |
