diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2025-12-01 14:31:32 +0000 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2025-12-01 15:22:38 +0000 |
| commit | d2ac69816567f092fe0d4661723bc43778cb481b (patch) | |
| tree | e8b51b61a6a7b0ab1a214adebe4e237143b01f0b /tests/push_authorization.rs | |
| parent | 7a78815e29b01c83f3d0ec195ba717a2eba8cd37 (diff) | |
fix cargo clippy and fmt warnings
Diffstat (limited to 'tests/push_authorization.rs')
| -rw-r--r-- | tests/push_authorization.rs | 7 |
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); | |||
| 70 | isolated_push_test!(test_pr_push_to_nostr_ref_with_wrong_commit_accepted_before_event_received); | 67 | isolated_push_test!(test_pr_push_to_nostr_ref_with_wrong_commit_accepted_before_event_received); |
| 71 | isolated_push_test!(test_pr_event_published_removes_nostr_ref_at_incorrect_commit); | 68 | isolated_push_test!(test_pr_event_published_removes_nostr_ref_at_incorrect_commit); |
| 72 | isolated_push_test!(test_push_to_nostr_ref_with_wrong_commit_after_event_received_rejected); | 69 | isolated_push_test!(test_push_to_nostr_ref_with_wrong_commit_after_event_received_rejected); |
| 73 | isolated_push_test!(test_push_to_nostr_ref_with_correct_commit_after_event_received_accepted); \ No newline at end of file | 70 | isolated_push_test!(test_push_to_nostr_ref_with_correct_commit_after_event_received_accepted); |