Skip to content

Commit

Permalink
Amend Test Account Pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
TheLydonKing committed Aug 20, 2024
1 parent be8c91b commit 68d8a2b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion api/src/test/resources/application.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ loginsvc:
url: "ldaps://some.domain.com:636/"
search-filter: "(samaccountname={1})"
service-account:
account-pattern: "CN=%s,OU=Users,OU=CORP Accounts,DC=corp,DC=dsarena,DC=com"
account-pattern: "CN=svc-ldap,OU=Users,OU=Accounts,DC=domain,DC=subdomain,DC=com"
in-config-account:
username: "svc-ldap"
password: "password"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class ConfigProviderTest extends AnyFlatSpec with Matchers {
activeDirectoryLDAPConfig.domain shouldBe "some.domain.com"
activeDirectoryLDAPConfig.searchFilter shouldBe "(samaccountname={1})"
activeDirectoryLDAPConfig.order shouldBe 2
activeDirectoryLDAPConfig.serviceAccount.username shouldBe "CN=svc-ldap,OU=Users,OU=CORP Accounts,DC=corp,DC=dsarena,DC=com"
activeDirectoryLDAPConfig.serviceAccount.username shouldBe "CN=svc-ldap,OU=Users,OU=Accounts,DC=domain,DC=subdomain,DC=com"
activeDirectoryLDAPConfig.serviceAccount.password shouldBe "password"
activeDirectoryLDAPConfig.enableKerberos shouldBe None
activeDirectoryLDAPConfig.attributes shouldBe Some(Map("mail" -> "email", "displayname" -> "displayname"))
Expand Down

0 comments on commit 68d8a2b

Please sign in to comment.