[management] lazy connection account setting (#3855)

This commit is contained in:
Pedro Maia Costa
2025-05-22 14:09:00 +01:00
committed by GitHub
parent 8e948739f1
commit c03435061c
10 changed files with 52 additions and 14 deletions

View File

@@ -1157,8 +1157,8 @@ func TestToSyncResponse(t *testing.T) {
},
}
dnsCache := &DNSConfigCache{}
response := toSyncResponse(context.Background(), config, peer, turnRelayToken, turnRelayToken, networkMap, dnsName, checks, dnsCache, true, nil)
accountSettings := &types.Settings{RoutingPeerDNSResolutionEnabled: true}
response := toSyncResponse(context.Background(), config, peer, turnRelayToken, turnRelayToken, networkMap, dnsName, checks, dnsCache, accountSettings, nil)
assert.NotNil(t, response)
// assert peer config