diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2024-07-24 16:37:10 +0100 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2024-07-24 16:37:10 +0100 |
| commit | 8638b321fdff94d034ec912ecd0910b6f564ff04 (patch) | |
| tree | 411e0ca989d8c53be5b11b39461297bf6a92d781 /tests/list.rs | |
| parent | 95cb9c040dfa8ca18bf907a44a86df35b316b6ca (diff) | |
refactor: use nip34 kinds from rust-nostr
instead of Kind::Custom(u16) as v33 of rust-nostr introduced them
Diffstat (limited to 'tests/list.rs')
| -rw-r--r-- | tests/list.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/list.rs b/tests/list.rs index 6e509ac..ce90ee4 100644 --- a/tests/list.rs +++ b/tests/list.rs | |||
| @@ -88,7 +88,7 @@ mod cannot_find_repo_event { | |||
| 88 | let mut input = p.expect_input("repository naddr")?; | 88 | let mut input = p.expect_input("repository naddr")?; |
| 89 | input.succeeds_with( | 89 | input.succeeds_with( |
| 90 | &Coordinate { | 90 | &Coordinate { |
| 91 | kind: nostr::Kind::Custom(REPOSITORY_KIND), | 91 | kind: nostr::Kind::GitRepoAnnouncement, |
| 92 | public_key: TEST_KEY_1_KEYS.public_key(), | 92 | public_key: TEST_KEY_1_KEYS.public_key(), |
| 93 | identifier: repo_event.identifier().unwrap().to_string(), | 93 | identifier: repo_event.identifier().unwrap().to_string(), |
| 94 | relays: vec!["ws://localhost:8056".to_string()], | 94 | relays: vec!["ws://localhost:8056".to_string()], |