upleb.uk

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

summaryrefslogtreecommitdiff
path: root/test_utils/src/lib.rs
diff options
context:
space:
mode:
authorDanConwayDev <DanConwayDev@protonmail.com>2024-01-22 00:00:00 +0000
committerDanConwayDev <DanConwayDev@protonmail.com>2024-01-22 00:00:00 +0000
commit48bb73000b939a2968e48e7832650df65d7add19 (patch)
treed7ef64484ab455e1f8a1631936d25aa1a6309dd7 /test_utils/src/lib.rs
parent3e52ecb609f8424cffb2e6398c599aa78224825a (diff)
test: add maintainers to test repo event
this doesnt effect the current tests but is more realistic
Diffstat (limited to 'test_utils/src/lib.rs')
-rw-r--r--test_utils/src/lib.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/test_utils/src/lib.rs b/test_utils/src/lib.rs
index fa80f1f..1aab78a 100644
--- a/test_utils/src/lib.rs
+++ b/test_utils/src/lib.rs
@@ -137,6 +137,8 @@ pub fn generate_repo_ref_event() -> nostr::Event {
137 Tag::Description("example description".to_string()), 137 Tag::Description("example description".to_string()),
138 Tag::Relay("ws://localhost:8055".into()), 138 Tag::Relay("ws://localhost:8055".into()),
139 Tag::Relay("ws://localhost:8056".into()), 139 Tag::Relay("ws://localhost:8056".into()),
140 Tag::PubKey(TEST_KEY_1_KEYS.public_key(), None),
141 Tag::PubKey(TEST_KEY_2_KEYS.public_key(), None),
140 ], 142 ],
141 ) 143 )
142 .to_event(&TEST_KEY_1_KEYS) 144 .to_event(&TEST_KEY_1_KEYS)