fix tests

Signed-off-by: bcmmbaga <bethuelmbaga12@gmail.com>
This commit is contained in:
bcmmbaga
2025-05-22 22:44:30 +03:00
parent 0eeda712d0
commit 3d89cd43c2
5 changed files with 30 additions and 21 deletions

View File

@@ -1108,7 +1108,7 @@ func TestToSyncResponse(t *testing.T) {
Port: nbdns.DefaultDNSPort,
}},
Primary: true,
Domains: []string{"example.com"},
Domains: domain.List{"example.com"},
Enabled: true,
SearchDomainsEnabled: true,
},
@@ -1121,7 +1121,7 @@ func TestToSyncResponse(t *testing.T) {
}},
Groups: []string{"group1"},
Primary: true,
Domains: []string{"example.com"},
Domains: domain.List{"example.com"},
Enabled: true,
SearchDomainsEnabled: true,
},
@@ -1995,7 +1995,7 @@ func TestPeerAccountPeersUpdate(t *testing.T) {
Port: nbdns.DefaultDNSPort,
}},
[]string{"groupC"},
true, []string{}, true, userID, false,
true, domain.List{}, true, userID, false,
)
require.NoError(t, err)