upleb.uk

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

summaryrefslogtreecommitdiff
path: root/grasp-audit/src/fixtures.rs
diff options
context:
space:
mode:
Diffstat (limited to 'grasp-audit/src/fixtures.rs')
-rw-r--r--grasp-audit/src/fixtures.rs14
1 files changed, 7 insertions, 7 deletions
diff --git a/grasp-audit/src/fixtures.rs b/grasp-audit/src/fixtures.rs
index 30df6e3..bbc7740 100644
--- a/grasp-audit/src/fixtures.rs
+++ b/grasp-audit/src/fixtures.rs
@@ -677,7 +677,7 @@ impl<'a> TestContext<'a> {
677 // Tag format: ["refs/heads/main", "<commit_hash>"] 677 // Tag format: ["refs/heads/main", "<commit_hash>"]
678 // Note: We build the state but DON'T send it here - the caller will send it 678 // Note: We build the state but DON'T send it here - the caller will send it
679 self.client 679 self.client
680 .event_builder(Kind::Custom(30618), "") 680 .event_builder(Kind::RepoState, "")
681 .tag(Tag::identifier(&repo_id)) 681 .tag(Tag::identifier(&repo_id))
682 .tag(Tag::custom( 682 .tag(Tag::custom(
683 TagKind::custom("refs/heads/main"), 683 TagKind::custom("refs/heads/main"),
@@ -713,7 +713,7 @@ impl<'a> TestContext<'a> {
713 // Build NIP-34 PR event (kind 1618) 713 // Build NIP-34 PR event (kind 1618)
714 self.client 714 self.client
715 .event_builder( 715 .event_builder(
716 Kind::Custom(1618), // NIP-34 PR kind (has 'c' tag for commit) 716 Kind::GitPullRequest, // NIP-34 PR kind (has 'c' tag for commit)
717 "Test PR for GRASP validation", 717 "Test PR for GRASP validation",
718 ) 718 )
719 .tag(Tag::custom( 719 .tag(Tag::custom(
@@ -756,7 +756,7 @@ impl<'a> TestContext<'a> {
756 // Build NIP-34 PR event (kind 1618) 756 // Build NIP-34 PR event (kind 1618)
757 self.client 757 self.client
758 .event_builder( 758 .event_builder(
759 Kind::Custom(1618), // NIP-34 PR kind (has 'c' tag for commit) 759 Kind::GitPullRequest, // NIP-34 PR kind (has 'c' tag for commit)
760 "Test PR for GRASP validation", 760 "Test PR for GRASP validation",
761 ) 761 )
762 .tag(Tag::custom( 762 .tag(Tag::custom(
@@ -884,7 +884,7 @@ impl<'a> TestContext<'a> {
884 884
885 let state_event = self 885 let state_event = self
886 .client 886 .client
887 .event_builder(Kind::Custom(30618), "") 887 .event_builder(Kind::RepoState, "")
888 .tag(Tag::identifier(&repo_id)) 888 .tag(Tag::identifier(&repo_id))
889 .tag(Tag::custom( 889 .tag(Tag::custom(
890 TagKind::custom("refs/heads/main"), 890 TagKind::custom("refs/heads/main"),
@@ -1057,7 +1057,7 @@ impl<'a> TestContext<'a> {
1057 1057
1058 let maintainer_state_event = self 1058 let maintainer_state_event = self
1059 .client 1059 .client
1060 .event_builder(Kind::Custom(30618), "") 1060 .event_builder(Kind::RepoState, "")
1061 .tag(Tag::identifier(&repo_id)) 1061 .tag(Tag::identifier(&repo_id))
1062 .tag(Tag::custom( 1062 .tag(Tag::custom(
1063 TagKind::custom("refs/heads/main"), 1063 TagKind::custom("refs/heads/main"),
@@ -1230,7 +1230,7 @@ impl<'a> TestContext<'a> {
1230 1230
1231 let recursive_maintainer_state_event = self 1231 let recursive_maintainer_state_event = self
1232 .client 1232 .client
1233 .event_builder(Kind::Custom(30618), "") 1233 .event_builder(Kind::RepoState, "")
1234 .tag(Tag::identifier(&repo_id)) 1234 .tag(Tag::identifier(&repo_id))
1235 .tag(Tag::custom( 1235 .tag(Tag::custom(
1236 TagKind::custom("refs/heads/main"), 1236 TagKind::custom("refs/heads/main"),
@@ -1397,7 +1397,7 @@ impl<'a> TestContext<'a> {
1397 1397
1398 let develop_state_event = self 1398 let develop_state_event = self
1399 .client 1399 .client
1400 .event_builder(Kind::Custom(30618), "") 1400 .event_builder(Kind::RepoState, "")
1401 .tag(Tag::identifier(&repo_id)) 1401 .tag(Tag::identifier(&repo_id))
1402 .tag(Tag::custom( 1402 .tag(Tag::custom(
1403 TagKind::custom("HEAD"), 1403 TagKind::custom("HEAD"),