upleb.uk

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

summaryrefslogtreecommitdiff
path: root/tests/git_remote_nostr/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/git_remote_nostr/main.rs')
-rw-r--r--tests/git_remote_nostr/main.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/git_remote_nostr/main.rs b/tests/git_remote_nostr/main.rs
index 84e66bd..5a1d416 100644
--- a/tests/git_remote_nostr/main.rs
+++ b/tests/git_remote_nostr/main.rs
@@ -4,7 +4,7 @@ use anyhow::{Context, Result};
4use futures::join; 4use futures::join;
5use git2::Oid; 5use git2::Oid;
6use nostr::nips::nip01::Coordinate; 6use nostr::nips::nip01::Coordinate;
7use nostr_sdk::{secp256k1::rand, Event, JsonUtil, Kind, ToBech32}; 7use nostr_sdk::{secp256k1::rand, Event, JsonUtil, Kind, RelayUrl, ToBech32};
8use relay::Relay; 8use relay::Relay;
9use serial_test::serial; 9use serial_test::serial;
10use test_utils::{git::GitTestRepo, *}; 10use test_utils::{git::GitTestRepo, *};
@@ -23,8 +23,8 @@ fn get_nostr_remote_url() -> Result<String> {
23 public_key: repo_event.pubkey, 23 public_key: repo_event.pubkey,
24 identifier: repo_event.tags.identifier().unwrap().to_string(), 24 identifier: repo_event.tags.identifier().unwrap().to_string(),
25 relays: vec![ 25 relays: vec![
26 "ws://localhost:8055".to_string(), 26 RelayUrl::parse("ws://localhost:8055").unwrap(),
27 "ws://localhost:8056".to_string(), 27 RelayUrl::parse("ws://localhost:8056").unwrap(),
28 ], 28 ],
29 } 29 }
30 .to_bech32()?; 30 .to_bech32()?;