diff options
Diffstat (limited to 'tests/ngit_list.rs')
| -rw-r--r-- | tests/ngit_list.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/ngit_list.rs b/tests/ngit_list.rs index a6b1374..ab6ba22 100644 --- a/tests/ngit_list.rs +++ b/tests/ngit_list.rs | |||
| @@ -50,6 +50,7 @@ mod cannot_find_repo_event { | |||
| 50 | use super::*; | 50 | use super::*; |
| 51 | mod cli_prompts { | 51 | mod cli_prompts { |
| 52 | use nostr::{nips::nip01::Coordinate, ToBech32}; | 52 | use nostr::{nips::nip01::Coordinate, ToBech32}; |
| 53 | use nostr_sdk::RelayUrl; | ||
| 53 | 54 | ||
| 54 | use super::*; | 55 | use super::*; |
| 55 | async fn run_async_repo_event_ref_needed(invalid_input: bool, naddr: bool) -> Result<()> { | 56 | async fn run_async_repo_event_ref_needed(invalid_input: bool, naddr: bool) -> Result<()> { |
| @@ -91,7 +92,7 @@ mod cannot_find_repo_event { | |||
| 91 | kind: nostr::Kind::GitRepoAnnouncement, | 92 | kind: nostr::Kind::GitRepoAnnouncement, |
| 92 | public_key: TEST_KEY_1_KEYS.public_key(), | 93 | public_key: TEST_KEY_1_KEYS.public_key(), |
| 93 | identifier: repo_event.tags.identifier().unwrap().to_string(), | 94 | identifier: repo_event.tags.identifier().unwrap().to_string(), |
| 94 | relays: vec!["ws://localhost:8056".to_string()], | 95 | relays: vec![RelayUrl::parse("ws://localhost:8056").unwrap()], |
| 95 | } | 96 | } |
| 96 | .to_bech32()?, | 97 | .to_bech32()?, |
| 97 | )?; | 98 | )?; |