diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2024-03-22 15:51:40 +0000 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2024-03-25 11:46:23 +0000 |
| commit | 49bc478fffc63a3cad0be194c6c45a868e432691 (patch) | |
| tree | 69438e9123858aee17828d9e718058797e3583e6 /tests/list.rs | |
| parent | 9a450f2ce740da08843a541d230c43194b934f5f (diff) | |
update tag generation
to reflect changes in rust-nostr
Diffstat (limited to 'tests/list.rs')
| -rw-r--r-- | tests/list.rs | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/tests/list.rs b/tests/list.rs index 4f55645..ee5e1dc 100644 --- a/tests/list.rs +++ b/tests/list.rs | |||
| @@ -190,7 +190,7 @@ mod cannot_find_repo_event { | |||
| 190 | input.succeeds_with( | 190 | input.succeeds_with( |
| 191 | &Coordinate { | 191 | &Coordinate { |
| 192 | kind: nostr::Kind::Custom(REPOSITORY_KIND), | 192 | kind: nostr::Kind::Custom(REPOSITORY_KIND), |
| 193 | pubkey: TEST_KEY_1_KEYS.public_key(), | 193 | public_key: TEST_KEY_1_KEYS.public_key(), |
| 194 | identifier: repo_event.identifier().unwrap().to_string(), | 194 | identifier: repo_event.identifier().unwrap().to_string(), |
| 195 | relays: vec!["ws://localhost:8056".to_string()], | 195 | relays: vec!["ws://localhost:8056".to_string()], |
| 196 | } | 196 | } |
| @@ -1621,7 +1621,10 @@ mod when_main_branch_is_uptodate { | |||
| 1621 | vec![ | 1621 | vec![ |
| 1622 | nostr::Filter::default() | 1622 | nostr::Filter::default() |
| 1623 | .kind(nostr::Kind::Custom(PATCH_KIND)) | 1623 | .kind(nostr::Kind::Custom(PATCH_KIND)) |
| 1624 | .custom_tag(nostr::Alphabet::T, vec!["root"]), | 1624 | .custom_tag( |
| 1625 | nostr::SingleLetterTag::lowercase(nostr::Alphabet::T), | ||
| 1626 | vec!["root"], | ||
| 1627 | ), | ||
| 1625 | ], | 1628 | ], |
| 1626 | Some(Duration::from_millis(500)), | 1629 | Some(Duration::from_millis(500)), |
| 1627 | )?; | 1630 | )?; |
| @@ -1748,7 +1751,10 @@ mod when_main_branch_is_uptodate { | |||
| 1748 | vec![ | 1751 | vec![ |
| 1749 | nostr::Filter::default() | 1752 | nostr::Filter::default() |
| 1750 | .kind(nostr::Kind::Custom(PATCH_KIND)) | 1753 | .kind(nostr::Kind::Custom(PATCH_KIND)) |
| 1751 | .custom_tag(nostr::Alphabet::T, vec!["root"]), | 1754 | .custom_tag( |
| 1755 | nostr::SingleLetterTag::lowercase(nostr::Alphabet::T), | ||
| 1756 | vec!["root"], | ||
| 1757 | ), | ||
| 1752 | ], | 1758 | ], |
| 1753 | Some(Duration::from_millis(500)), | 1759 | Some(Duration::from_millis(500)), |
| 1754 | )?; | 1760 | )?; |