From aa2662a2bb15344b5e247870b28cbeb3be815678 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zolt=C3=A1n=20Papp?= Date: Mon, 2 Jun 2025 19:08:22 +0200 Subject: [PATCH] Fix test --- client/internal/peer/status_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/internal/peer/status_test.go b/client/internal/peer/status_test.go index 33ea4ee0b..272638750 100644 --- a/client/internal/peer/status_test.go +++ b/client/internal/peer/status_test.go @@ -87,7 +87,7 @@ func TestGetPeerStateChangeNotifierLogic(t *testing.T) { status := NewRecorder("https://mgm") _ = status.AddPeer(key, "abc.netbird", ip) - sub := status.SubscribeToPeerStateChanges(key) + sub := status.SubscribeToPeerStateChanges(context.Background(), key) assert.NotNil(t, sub, "channel shouldn't be nil") peerState := State{