Make tests use mock beacon

Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
This commit is contained in:
Jakub Sztandera
2020-04-14 20:41:05 +02:00
parent eb501f7290
commit 0c5e3e2533
2 changed files with 6 additions and 6 deletions
+1
View File
@@ -486,5 +486,6 @@ func Test() Option {
return Options(
Unset(RunPeerMgrKey),
Unset(new(*peermgr.PeerMgr)),
Override(new(beacon.RandomBeacon), testing.RandomBeacon),
)
}