This commit is contained in:
Zoltán Papp
2025-06-02 19:08:22 +02:00
parent 3ecab1f31e
commit aa2662a2bb

View File

@@ -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{