HotFix: IVPN add TCP and UDP fields

This commit is contained in:
Quentin McGaw (desktop)
2021-05-31 00:41:44 +00:00
parent 3c3cd431cd
commit 9be912e9fd
5 changed files with 49 additions and 49 deletions

View File

@@ -26,8 +26,8 @@ func Test_Stringify(t *testing.T) {
},
s: `func IvpnServers() []models.IvpnServer {
return []models.IvpnServer{
{Country: "A", City: "", Hostname: "", IPs: []net.IP{}},
{Country: "B", City: "", Hostname: "", IPs: []net.IP{}},
{Country: "A", City: "", Hostname: "", TCP: false, UDP: false, IPs: []net.IP{}},
{Country: "B", City: "", Hostname: "", TCP: false, UDP: false, IPs: []net.IP{}},
}
}`,
},