Skip to content

Commit

Permalink
fix sign in relay test just recently updated.
Browse files Browse the repository at this point in the history
  • Loading branch information
fiatjaf committed Dec 9, 2023
1 parent 3e1749a commit fabd516
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions relay_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ func TestPublish(t *testing.T) {
// connect a client and send the text note
rl := mustRelayConnect(ws.URL)
err := rl.Publish(context.Background(), textNote)
if err == nil {
t.Errorf("should have failed to publish")
if err != nil {
t.Errorf("publish should have succeeded")
}
if !published {
t.Errorf("fake relay server saw no event")
Expand Down

0 comments on commit fabd516

Please sign in to comment.