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{