diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2025-04-01 14:31:34 +0100 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2025-04-01 14:35:50 +0100 |
| commit | 948fe972eb2bddf187b79f2673a091b6331cfd90 (patch) | |
| tree | ec1c538d28108b104b5a00afd673631538f9aa00 /tests/ngit_init.rs | |
| parent | 70966d571fce16f707725c6b0af0fd585bfce607 (diff) | |
chore: bump rust-nostr v0.37 ~> v0.40
and fix all of the breaking changes
Diffstat (limited to 'tests/ngit_init.rs')
| -rw-r--r-- | tests/ngit_init.rs | 12 |
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()?, |