Skip to content

Commit

Permalink
test: add EventStatus to DataConnect
Browse files Browse the repository at this point in the history
  • Loading branch information
gbaranski committed Jan 28, 2025
1 parent 6230a7b commit 84a37d4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion daemon/actual_ip_resolver_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,9 @@ func TestActualIPResolver(t *testing.T) {
go ActualIPResolver(rpc.statePublisher, rpc.dm, api)
time.Sleep(time.Millisecond * 100)
assert.Equal(t, netip.Addr{}, rpc.dm.GetActualIP())
eventConnect := events.DataConnect{}
eventConnect := events.DataConnect{
EventStatus: events.StatusSuccess,
}
go func() {
err := rpc.statePublisher.NotifyConnect(eventConnect)
assert.NoError(t, err)
Expand Down

0 comments on commit 84a37d4

Please sign in to comment.