diff options
Diffstat (limited to 'tests/git_remote_nostr')
| -rw-r--r-- | tests/git_remote_nostr/main.rs | 2 | ||||
| -rw-r--r-- | tests/git_remote_nostr/push.rs | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/git_remote_nostr/main.rs b/tests/git_remote_nostr/main.rs index 189d82d..f749c7f 100644 --- a/tests/git_remote_nostr/main.rs +++ b/tests/git_remote_nostr/main.rs | |||
| @@ -21,7 +21,7 @@ fn get_nostr_remote_url() -> Result<String> { | |||
| 21 | let naddr = Coordinate { | 21 | let naddr = Coordinate { |
| 22 | kind: Kind::GitRepoAnnouncement, | 22 | kind: Kind::GitRepoAnnouncement, |
| 23 | public_key: repo_event.pubkey, | 23 | public_key: repo_event.pubkey, |
| 24 | identifier: repo_event.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 | "ws://localhost:8055".to_string(), |
| 27 | "ws://localhost:8056".to_string(), | 27 | "ws://localhost:8056".to_string(), |
diff --git a/tests/git_remote_nostr/push.rs b/tests/git_remote_nostr/push.rs index e0a4e93..b93475c 100644 --- a/tests/git_remote_nostr/push.rs +++ b/tests/git_remote_nostr/push.rs | |||
| @@ -302,8 +302,8 @@ mod two_branches_in_batch_one_added_one_updated { | |||
| 302 | .context("state event not created")?; | 302 | .context("state event not created")?; |
| 303 | 303 | ||
| 304 | assert_eq!( | 304 | assert_eq!( |
| 305 | state_event.identifier(), | 305 | state_event.tags.identifier(), |
| 306 | generate_repo_ref_event().identifier(), | 306 | generate_repo_ref_event().tags.identifier(), |
| 307 | ); | 307 | ); |
| 308 | // println!("{:#?}", state_event); | 308 | // println!("{:#?}", state_event); |
| 309 | assert_eq!( | 309 | assert_eq!( |