diff options
Diffstat (limited to 'grasp-audit/src/specs/grasp01/push_authorization.rs')
| -rw-r--r-- | grasp-audit/src/specs/grasp01/push_authorization.rs | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/grasp-audit/src/specs/grasp01/push_authorization.rs b/grasp-audit/src/specs/grasp01/push_authorization.rs index e076bee..ed69d6d 100644 --- a/grasp-audit/src/specs/grasp01/push_authorization.rs +++ b/grasp-audit/src/specs/grasp01/push_authorization.rs | |||
| @@ -1355,19 +1355,19 @@ impl PushAuthorizationTests { | |||
| 1355 | } | 1355 | } |
| 1356 | 1356 | ||
| 1357 | // TODO - uncomment this when purgatory feature added | 1357 | // TODO - uncomment this when purgatory feature added |
| 1358 | // // Check event is not yet served by relay (still in purgatory) | 1358 | // Check event is not yet served by relay (still in purgatory) |
| 1359 | // match client.is_event_on_relay(pr_event.id).await { | 1359 | match client.is_event_on_relay(pr_event.id).await { |
| 1360 | // Ok(on_relay) => { | 1360 | Ok(on_relay) => { |
| 1361 | // if !on_relay { | 1361 | if !on_relay { |
| 1362 | // return TestResult::new(test_name, "GRASP-01:git-http:40", desc) | 1362 | return TestResult::new(test_name, "GRASP-01:git-http:40", desc) |
| 1363 | // .fail("PR event not in purgatory before correct commit pushed to refs/nostr/<event-id> (the relay serve the PR event)"); | 1363 | .fail("PR event not in purgatory before correct commit pushed to refs/nostr/<event-id> (the relay serve the PR event)"); |
| 1364 | // } | 1364 | } |
| 1365 | // } | 1365 | } |
| 1366 | // Err(_) => { | 1366 | Err(_) => { |
| 1367 | // return TestResult::new(test_name, "GRASP-01:git-http:40", desc) | 1367 | return TestResult::new(test_name, "GRASP-01:git-http:40", desc) |
| 1368 | // .fail("failed to query relay"); | 1368 | .fail("failed to query relay"); |
| 1369 | // } | 1369 | } |
| 1370 | // } | 1370 | } |
| 1371 | 1371 | ||
| 1372 | // Push correct commit (should succeed) | 1372 | // Push correct commit (should succeed) |
| 1373 | let push_succeeded = match push_to_pr_ref(&clone_path, &pr_event_id) { | 1373 | let push_succeeded = match push_to_pr_ref(&clone_path, &pr_event_id) { |