mirror of
https://github.com/logos-messaging/logos-delivery.git
synced 2026-07-26 06:23:14 +00:00
Drop obsolete test: setRlnValidator no longer requires relay
This commit is contained in:
parent
db1a185c01
commit
f02e8bc668
@ -128,22 +128,6 @@ suite "Waku RlnRelay - End to End - Static":
|
||||
await allFutures(client.stop(), server.stop())
|
||||
|
||||
suite "Mount":
|
||||
asyncTest "Can't mount if relay is not mounted":
|
||||
# Given Relay and RLN are not mounted
|
||||
check:
|
||||
server.wakuRelay == nil
|
||||
server.rln == nil
|
||||
|
||||
# When RlnRelay is mounted
|
||||
let catchRes = catch:
|
||||
await server.setupStaticRln(1)
|
||||
|
||||
# Then Relay and RLN are not mounted,and the process fails
|
||||
check:
|
||||
server.wakuRelay == nil
|
||||
server.rln == nil
|
||||
catchRes.error()[].msg == "WakuRelay protocol is not mounted, cannot mount Rln"
|
||||
|
||||
asyncTest "Pubsub topics subscribed before mounting RlnRelay are added to it":
|
||||
# Given the node enables Relay and Rln while subscribing to a pubsub topic
|
||||
await server.setupRelayWithStaticRln(1.uint, @[pubsubTopic])
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user