mirror of
https://github.com/nbd-wtf/go-nostr.git
synced 2025-07-07 14:49:56 +02:00
fix sign in relay test just recently updated.
This commit is contained in:
@ -56,8 +56,8 @@ func TestPublish(t *testing.T) {
|
|||||||
// connect a client and send the text note
|
// connect a client and send the text note
|
||||||
rl := mustRelayConnect(ws.URL)
|
rl := mustRelayConnect(ws.URL)
|
||||||
err := rl.Publish(context.Background(), textNote)
|
err := rl.Publish(context.Background(), textNote)
|
||||||
if err == nil {
|
if err != nil {
|
||||||
t.Errorf("should have failed to publish")
|
t.Errorf("publish should have succeeded")
|
||||||
}
|
}
|
||||||
if !published {
|
if !published {
|
||||||
t.Errorf("fake relay server saw no event")
|
t.Errorf("fake relay server saw no event")
|
||||||
|
Reference in New Issue
Block a user