mirror of
https://github.com/netbirdio/netbird.git
synced 2024-12-14 02:41:34 +01:00
Fix test after merge conflicts
This commit is contained in:
parent
2e6c6cd47d
commit
4d162f1750
@ -848,9 +848,9 @@ func TestToSyncResponse(t *testing.T) {
|
|||||||
DNSLabel: "peer1",
|
DNSLabel: "peer1",
|
||||||
SSHKey: "peer1-ssh-key",
|
SSHKey: "peer1-ssh-key",
|
||||||
}
|
}
|
||||||
turnCredentials := &TURNCredentials{
|
turnRelayToken := &TURNRelayToken{
|
||||||
Username: "turn-user",
|
Payload: "turn-user",
|
||||||
Password: "turn-pass",
|
Signature: "turn-pass",
|
||||||
}
|
}
|
||||||
networkMap := &NetworkMap{
|
networkMap := &NetworkMap{
|
||||||
Network: &Network{Net: *ipnet, Serial: 1000},
|
Network: &Network{Net: *ipnet, Serial: 1000},
|
||||||
@ -916,7 +916,7 @@ func TestToSyncResponse(t *testing.T) {
|
|||||||
}
|
}
|
||||||
dnsCache := &DNSConfigCache{}
|
dnsCache := &DNSConfigCache{}
|
||||||
|
|
||||||
response := toSyncResponse(context.Background(), config, peer, turnCredentials, networkMap, dnsName, checks, dnsCache)
|
response := toSyncResponse(context.Background(), config, peer, turnRelayToken, turnRelayToken, networkMap, dnsName, checks, dnsCache)
|
||||||
|
|
||||||
assert.NotNil(t, response)
|
assert.NotNil(t, response)
|
||||||
// assert peer config
|
// assert peer config
|
||||||
|
Loading…
Reference in New Issue
Block a user