diff options
Diffstat (limited to 'test_utils/src/git.rs')
| -rw-r--r-- | test_utils/src/git.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test_utils/src/git.rs b/test_utils/src/git.rs index 2562799..474fc59 100644 --- a/test_utils/src/git.rs +++ b/test_utils/src/git.rs | |||
| @@ -10,7 +10,7 @@ use std::{ | |||
| 10 | use anyhow::{Context, Result}; | 10 | use anyhow::{Context, Result}; |
| 11 | use git2::{Branch, Oid, RepositoryInitOptions, Signature, Time}; | 11 | use git2::{Branch, Oid, RepositoryInitOptions, Signature, Time}; |
| 12 | use nostr::nips::nip01::Coordinate; | 12 | use nostr::nips::nip01::Coordinate; |
| 13 | use nostr_sdk::{Kind, ToBech32}; | 13 | use nostr_sdk::{Kind, RelayUrl, ToBech32}; |
| 14 | 14 | ||
| 15 | use crate::generate_repo_ref_event; | 15 | use crate::generate_repo_ref_event; |
| 16 | 16 | ||
| @@ -28,8 +28,8 @@ impl Default for GitTestRepo { | |||
| 28 | public_key: repo_event.pubkey, | 28 | public_key: repo_event.pubkey, |
| 29 | identifier: repo_event.tags.identifier().unwrap().to_string(), | 29 | identifier: repo_event.tags.identifier().unwrap().to_string(), |
| 30 | relays: vec![ | 30 | relays: vec![ |
| 31 | "ws://localhost:8055".to_string(), | 31 | RelayUrl::parse("ws://localhost:8055").unwrap(), |
| 32 | "ws://localhost:8056".to_string(), | 32 | RelayUrl::parse("ws://localhost:8056").unwrap(), |
| 33 | ], | 33 | ], |
| 34 | }; | 34 | }; |
| 35 | 35 | ||