Adjust LDAP base DN in tests to dc=example,dc=org

This commit is contained in:
Ralf Haferkamp
2025-01-29 11:59:06 +01:00
parent 64e3d46fb9
commit 1c96633985
3 changed files with 7 additions and 7 deletions
@@ -317,7 +317,7 @@ func TestGetGroupsSearch(t *testing.T) {
}
}
func TestUpdateGroupName(t *testing.T) {
groupDn := "cn=TheGroup,ou=groups,dc=owncloud,dc=com"
groupDn := "cn=TheGroup,ou=groups,dc=example,dc=org"
type args struct {
groupId string
@@ -404,7 +404,7 @@ func TestUpdateGroupName(t *testing.T) {
&ldap.SearchResult{
Entries: []*ldap.Entry{
{
DN: "cn=TheGroup,ou=groups,dc=owncloud,dc=com",
DN: "cn=TheGroup,ou=groups,dc=example,dc=org",
Attributes: []*ldap.EntryAttribute{
{
Name: "cn",