sdk: more PrepareNote() tests.

This commit is contained in:
fiatjaf
2025-05-06 00:03:47 -03:00
parent b84d99ac06
commit 05bf7b9c4f
3 changed files with 70 additions and 16 deletions

View File

@@ -99,9 +99,8 @@ func TestStreamLiveFeed(t *testing.T) {
relay.Close()
// create a new system instance pointing only to relay1 as the "indexer"
sys := NewSystem(WithRelayListRelays([]string{
"ws://localhost:48481",
}))
sys := NewSystem()
sys.RelayListRelays = NewRelayStream("ws://localhost:48481")
defer sys.Close()
// prepublish some events