From a3849b978b4a65d0a1b18416727a1746ed15698b Mon Sep 17 00:00:00 2001 From: braginini Date: Sat, 8 Apr 2023 17:39:38 +0200 Subject: [PATCH] Fix shoulduseproxy tests --- client/internal/peer/conn_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client/internal/peer/conn_test.go b/client/internal/peer/conn_test.go index 107852c51..957ec8719 100644 --- a/client/internal/peer/conn_test.go +++ b/client/internal/peer/conn_test.go @@ -203,12 +203,13 @@ func TestConn_ShouldUseProxy(t *testing.T) { } privateHostCandidate := &mockICECandidate{ AddressFunc: func() string { - return "10.0.0.1" + return "10.0.0.1:44576" }, TypeFunc: func() ice.CandidateType { return ice.CandidateTypeHost }, } + srflxCandidate := &mockICECandidate{ AddressFunc: func() string { return "1.1.1.1"