1
0
Fork 0
mirror of https://github.com/anyproto/any-sync.git synced 2025-06-08 05:57:03 +09:00

fix mocks

This commit is contained in:
Sergey Cherepanov 2024-11-15 17:55:41 +01:00
parent 944c9cf10a
commit 49e46e0ee7
No known key found for this signature in database
GPG key ID: 87F8EDE8FBDF637C
2 changed files with 4 additions and 0 deletions

View file

@ -197,6 +197,8 @@ func (p *mockPeerManager) GetNodePeers(ctx context.Context) (peers []peer.Peer,
return nil, nil
}
func (p *mockPeerManager) KeepAlive(ctx context.Context) {}
type testPeerManagerProvider struct {
}

View file

@ -64,3 +64,5 @@ func (c *TestPeerManager) SendMessage(ctx context.Context, peerId string, msg dr
return []peer.Peer{pr}, nil
})
}
func (c *TestPeerManager) KeepAlive(ctx context.Context) {}