From fc3f22eac2bb81823f170f61ba9d39baff76b933 Mon Sep 17 00:00:00 2001 From: DanConwayDev Date: Fri, 26 Jan 2024 21:32:21 +0000 Subject: chore: upgrade rust-nostr v0.27.0 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. --- tests/login.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'tests') 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 { fn when_some_relays_return_other_event_kinds() -> Result<()> { futures::executor::block_on(run_test_displays_correct_name( Some(&|relay, client_id, subscription_id, _| -> Result<()> { - let mut event = generate_test_key_1_metadata_event("Fred"); - event.kind = nostr::Kind::TextNote; + let event = generate_test_key_1_kind_event(nostr::Kind::TextNote); relay.respond_events( client_id, &subscription_id, -- cgit v1.2.3