upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/test_utils/src/git.rs
diff options
context:
space:
mode:
Diffstat (limited to 'test_utils/src/git.rs')
-rw-r--r--test_utils/src/git.rs6
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::{
10use anyhow::{Context, Result}; 10use anyhow::{Context, Result};
11use git2::{Branch, Oid, RepositoryInitOptions, Signature, Time}; 11use git2::{Branch, Oid, RepositoryInitOptions, Signature, Time};
12use nostr::nips::nip01::Coordinate; 12use nostr::nips::nip01::Coordinate;
13use nostr_sdk::{Kind, ToBech32}; 13use nostr_sdk::{Kind, RelayUrl, ToBech32};
14 14
15use crate::generate_repo_ref_event; 15use 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