diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2024-01-26 21:32:21 +0000 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2024-01-26 21:32:21 +0000 |
| commit | fc3f22eac2bb81823f170f61ba9d39baff76b933 (patch) | |
| tree | b6eec0bad2850e90bdded550bd175849f8e1abff /tests | |
| parent | d96c8f6687be8966a0bb25c679995fea3b9f0715 (diff) | |
chore: upgrade rust-nostr v0.27.0v0.1.1
this is a contribution from jk (sectore) that I rebased and squashed
into this commit.
the tests were broken in the last few commits to rush out some fixes.
this change may introduce more issues because of
Relay.respond_standard_req.
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/login.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/login.rs b/tests/login.rs index e6ead6b..4141a59 100644 --- a/tests/login.rs +++ b/tests/login.rs | |||
| @@ -207,8 +207,7 @@ mod with_relays { | |||
| 207 | fn when_some_relays_return_other_event_kinds() -> Result<()> { | 207 | fn when_some_relays_return_other_event_kinds() -> Result<()> { |
| 208 | futures::executor::block_on(run_test_displays_correct_name( | 208 | futures::executor::block_on(run_test_displays_correct_name( |
| 209 | Some(&|relay, client_id, subscription_id, _| -> Result<()> { | 209 | Some(&|relay, client_id, subscription_id, _| -> Result<()> { |
| 210 | let mut event = generate_test_key_1_metadata_event("Fred"); | 210 | let event = generate_test_key_1_kind_event(nostr::Kind::TextNote); |
| 211 | event.kind = nostr::Kind::TextNote; | ||
| 212 | relay.respond_events( | 211 | relay.respond_events( |
| 213 | client_id, | 212 | client_id, |
| 214 | &subscription_id, | 213 | &subscription_id, |