upleb.uk

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

summaryrefslogtreecommitdiff
path: root/tests/ngit_init.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ngit_init.rs')
-rw-r--r--tests/ngit_init.rs12
1 files changed, 7 insertions, 5 deletions
diff --git a/tests/ngit_init.rs b/tests/ngit_init.rs
index 4b61559..409bd51 100644
--- a/tests/ngit_init.rs
+++ b/tests/ngit_init.rs
@@ -194,7 +194,7 @@ mod when_repo_not_previously_claimed {
194 194
195 mod git_config_updated { 195 mod git_config_updated {
196 196
197 use nostr::nips::nip01::Coordinate; 197 use nostr::nips::{nip01::Coordinate, nip19::Nip19Coordinate};
198 use nostr_sdk::ToBech32; 198 use nostr_sdk::ToBech32;
199 199
200 use super::*; 200 use super::*;
@@ -236,10 +236,12 @@ mod when_repo_not_previously_claimed {
236 .get_entry("nostr.repo")? 236 .get_entry("nostr.repo")?
237 .value() 237 .value()
238 .unwrap(), 238 .unwrap(),
239 Coordinate { 239 Nip19Coordinate {
240 kind: nostr_sdk::Kind::GitRepoAnnouncement, 240 coordinate: Coordinate {
241 identifier: "example-identifier".to_string(), 241 kind: nostr_sdk::Kind::GitRepoAnnouncement,
242 public_key: TEST_KEY_1_KEYS.public_key(), 242 identifier: "example-identifier".to_string(),
243 public_key: TEST_KEY_1_KEYS.public_key(),
244 },
243 relays: vec![], 245 relays: vec![],
244 } 246 }
245 .to_bech32()?, 247 .to_bech32()?,