upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/grasp-audit/src/specs/grasp01/push_authorization.rs
diff options
context:
space:
mode:
Diffstat (limited to 'grasp-audit/src/specs/grasp01/push_authorization.rs')
-rw-r--r--grasp-audit/src/specs/grasp01/push_authorization.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/grasp-audit/src/specs/grasp01/push_authorization.rs b/grasp-audit/src/specs/grasp01/push_authorization.rs
index 23eb735..4c7720b 100644
--- a/grasp-audit/src/specs/grasp01/push_authorization.rs
+++ b/grasp-audit/src/specs/grasp01/push_authorization.rs
@@ -877,7 +877,7 @@ impl PushAuthorizationTests {
877 // Create a rogue state event announcing the new commit 877 // Create a rogue state event announcing the new commit
878 // This event has the correct repo_id but is signed by a non-maintainer 878 // This event has the correct repo_id but is signed by a non-maintainer
879 let rogue_state = match client 879 let rogue_state = match client
880 .event_builder(Kind::Custom(30618), "") 880 .event_builder(Kind::RepoState, "")
881 .tag(Tag::identifier(&repo_id)) 881 .tag(Tag::identifier(&repo_id))
882 .tag(Tag::custom( 882 .tag(Tag::custom(
883 TagKind::custom("refs/heads/main"), 883 TagKind::custom("refs/heads/main"),
@@ -1591,7 +1591,7 @@ impl PushAuthorizationTests {
1591 // This references a commit that doesn't yet exist on the relay 1591 // This references a commit that doesn't yet exist on the relay
1592 // ============================================================ 1592 // ============================================================
1593 let state_event = match client 1593 let state_event = match client
1594 .event_builder(Kind::Custom(30618), "") 1594 .event_builder(Kind::RepoState, "")
1595 .tag(Tag::identifier(&repo_id)) 1595 .tag(Tag::identifier(&repo_id))
1596 .tag(Tag::custom( 1596 .tag(Tag::custom(
1597 TagKind::custom("HEAD"), 1597 TagKind::custom("HEAD"),