diff options
Diffstat (limited to 'test_utils/src/git.rs')
| -rw-r--r-- | test_utils/src/git.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test_utils/src/git.rs b/test_utils/src/git.rs index 7aa7e84..5e8aed5 100644 --- a/test_utils/src/git.rs +++ b/test_utils/src/git.rs | |||
| @@ -8,7 +8,7 @@ use git2::{Oid, RepositoryInitOptions, Signature, Time}; | |||
| 8 | use nostr::nips::nip01::Coordinate; | 8 | use nostr::nips::nip01::Coordinate; |
| 9 | use nostr_sdk::{Kind, ToBech32}; | 9 | use nostr_sdk::{Kind, ToBech32}; |
| 10 | 10 | ||
| 11 | use crate::{generate_repo_ref_event, REPOSITORY_KIND}; | 11 | use crate::generate_repo_ref_event; |
| 12 | 12 | ||
| 13 | pub struct GitTestRepo { | 13 | pub struct GitTestRepo { |
| 14 | pub dir: PathBuf, | 14 | pub dir: PathBuf, |
| @@ -19,7 +19,7 @@ impl Default for GitTestRepo { | |||
| 19 | fn default() -> Self { | 19 | fn default() -> Self { |
| 20 | let repo_event = generate_repo_ref_event(); | 20 | let repo_event = generate_repo_ref_event(); |
| 21 | let coordinate = Coordinate { | 21 | let coordinate = Coordinate { |
| 22 | kind: Kind::Custom(REPOSITORY_KIND), | 22 | kind: Kind::GitRepoAnnouncement, |
| 23 | public_key: repo_event.author(), | 23 | public_key: repo_event.author(), |
| 24 | identifier: repo_event.identifier().unwrap().to_string(), | 24 | identifier: repo_event.identifier().unwrap().to_string(), |
| 25 | relays: vec![ | 25 | relays: vec![ |