diff options
Diffstat (limited to 'grasp-audit/src')
| -rw-r--r-- | grasp-audit/src/specs/grasp01_nostr_relay.rs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/grasp-audit/src/specs/grasp01_nostr_relay.rs b/grasp-audit/src/specs/grasp01_nostr_relay.rs index ca84a4b..7c4ef1e 100644 --- a/grasp-audit/src/specs/grasp01_nostr_relay.rs +++ b/grasp-audit/src/specs/grasp01_nostr_relay.rs | |||
| @@ -653,9 +653,8 @@ mod tests { | |||
| 653 | #[tokio::test] | 653 | #[tokio::test] |
| 654 | #[ignore] // Requires running relay | 654 | #[ignore] // Requires running relay |
| 655 | async fn test_grasp01_nostr_relay_against_relay() { | 655 | async fn test_grasp01_nostr_relay_against_relay() { |
| 656 | // Read relay URL from environment variable, default to localhost:8081 | 656 | // Read relay URL from environment variable - must be supplied |
| 657 | let relay_url = std::env::var("RELAY_URL") | 657 | let relay_url = std::env::var("RELAY_URL")?; |
| 658 | .unwrap_or_else(|_| "ws://localhost:8081".to_string()); | ||
| 659 | 658 | ||
| 660 | let config = AuditConfig::ci(); | 659 | let config = AuditConfig::ci(); |
| 661 | let client = AuditClient::new(&relay_url, config) | 660 | let client = AuditClient::new(&relay_url, config) |