upleb.uk

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

summaryrefslogtreecommitdiff
path: root/tests/push_authorization.rs
diff options
context:
space:
mode:
authorDanConwayDev <DanConwayDev@protonmail.com>2025-12-01 14:31:32 +0000
committerDanConwayDev <DanConwayDev@protonmail.com>2025-12-01 15:22:38 +0000
commitd2ac69816567f092fe0d4661723bc43778cb481b (patch)
treee8b51b61a6a7b0ab1a214adebe4e237143b01f0b /tests/push_authorization.rs
parent7a78815e29b01c83f3d0ec195ba717a2eba8cd37 (diff)
fix cargo clippy and fmt warnings
Diffstat (limited to 'tests/push_authorization.rs')
-rw-r--r--tests/push_authorization.rs7
1 files changed, 2 insertions, 5 deletions
diff --git a/tests/push_authorization.rs b/tests/push_authorization.rs
index 1f8e0ca..357fefb 100644
--- a/tests/push_authorization.rs
+++ b/tests/push_authorization.rs
@@ -43,10 +43,7 @@ macro_rules! isolated_push_test {
43 .await 43 .await
44 .expect("Failed to create audit client"); 44 .expect("Failed to create audit client");
45 45
46 let result = PushAuthorizationTests::$test_name( 46 let result = PushAuthorizationTests::$test_name(&client, &relay.domain()).await;
47 &client,
48 &relay.domain()
49 ).await;
50 47
51 relay.stop().await; 48 relay.stop().await;
52 49
@@ -70,4 +67,4 @@ isolated_push_test!(test_push_to_nostr_ref_with_invalid_event_id_rejected);
70isolated_push_test!(test_pr_push_to_nostr_ref_with_wrong_commit_accepted_before_event_received); 67isolated_push_test!(test_pr_push_to_nostr_ref_with_wrong_commit_accepted_before_event_received);
71isolated_push_test!(test_pr_event_published_removes_nostr_ref_at_incorrect_commit); 68isolated_push_test!(test_pr_event_published_removes_nostr_ref_at_incorrect_commit);
72isolated_push_test!(test_push_to_nostr_ref_with_wrong_commit_after_event_received_rejected); 69isolated_push_test!(test_push_to_nostr_ref_with_wrong_commit_after_event_received_rejected);
73isolated_push_test!(test_push_to_nostr_ref_with_correct_commit_after_event_received_accepted); \ No newline at end of file 70isolated_push_test!(test_push_to_nostr_ref_with_correct_commit_after_event_received_accepted);