From e30dfd5e5abb96cdc89b80f1d085466e55c347e0 Mon Sep 17 00:00:00 2001 From: DanConwayDev Date: Wed, 3 Dec 2025 11:38:07 +0000 Subject: remove depricated audit mode label ci / production ~> isolated / shared --- tests/cors.rs | 2 +- tests/git_clone.rs | 2 +- tests/nip01_compliance.rs | 6 +++--- tests/nip11_document.rs | 2 +- tests/nip34_announcements.rs | 2 +- tests/push_authorization.rs | 2 +- tests/repository_creation.rs | 2 +- 7 files changed, 9 insertions(+), 9 deletions(-) (limited to 'tests') diff --git a/tests/cors.rs b/tests/cors.rs index b5a0a87..a4e92bc 100644 --- a/tests/cors.rs +++ b/tests/cors.rs @@ -36,7 +36,7 @@ macro_rules! isolated_cors_test { #[tokio::test] async fn $test_name() { let relay = TestRelay::start().await; - let config = AuditConfig::ci(); + let config = AuditConfig::isolated(); let client = AuditClient::new(relay.url(), config) .await .expect("Failed to create audit client"); diff --git a/tests/git_clone.rs b/tests/git_clone.rs index c8a91a2..a6d810b 100644 --- a/tests/git_clone.rs +++ b/tests/git_clone.rs @@ -37,7 +37,7 @@ macro_rules! isolated_test { #[tokio::test] async fn $test_name() { let relay = TestRelay::start().await; - let config = AuditConfig::ci(); + let config = AuditConfig::isolated(); let client = AuditClient::new(relay.url(), config) .await .expect("Failed to create audit client"); diff --git a/tests/nip01_compliance.rs b/tests/nip01_compliance.rs index 6fb721a..045bddb 100644 --- a/tests/nip01_compliance.rs +++ b/tests/nip01_compliance.rs @@ -36,7 +36,7 @@ macro_rules! isolated_test { #[tokio::test] async fn $test_name() { let relay = TestRelay::start().await; - let config = AuditConfig::ci(); + let config = AuditConfig::isolated(); let client = AuditClient::new(relay.url(), config) .await .expect("Failed to create audit client"); @@ -73,7 +73,7 @@ async fn test_relay_lifecycle() { let url = relay.url().to_string(); // Verify we can connect - let config = AuditConfig::ci(); + let config = AuditConfig::isolated(); let client = AuditClient::new(&url, config) .await .expect("Failed to connect to relay"); @@ -101,7 +101,7 @@ async fn test_parallel_relays() { ); // Both should be connectable - let config = AuditConfig::ci(); + let config = AuditConfig::isolated(); let client1 = AuditClient::new(relay1.url(), config.clone()) .await diff --git a/tests/nip11_document.rs b/tests/nip11_document.rs index 2104ad0..147bb26 100644 --- a/tests/nip11_document.rs +++ b/tests/nip11_document.rs @@ -36,7 +36,7 @@ macro_rules! isolated_test { #[tokio::test] async fn $test_name() { let relay = TestRelay::start().await; - let config = AuditConfig::ci(); + let config = AuditConfig::isolated(); let client = AuditClient::new(relay.url(), config) .await .expect("Failed to create audit client"); diff --git a/tests/nip34_announcements.rs b/tests/nip34_announcements.rs index 2a83886..aa623d3 100644 --- a/tests/nip34_announcements.rs +++ b/tests/nip34_announcements.rs @@ -36,7 +36,7 @@ macro_rules! isolated_test { #[tokio::test] async fn $test_name() { let relay = TestRelay::start().await; - let config = AuditConfig::ci(); + let config = AuditConfig::isolated(); let client = AuditClient::new(relay.url(), config) .await .expect("Failed to create audit client"); diff --git a/tests/push_authorization.rs b/tests/push_authorization.rs index b9e0545..df291d5 100644 --- a/tests/push_authorization.rs +++ b/tests/push_authorization.rs @@ -38,7 +38,7 @@ macro_rules! isolated_push_test { #[tokio::test] async fn $test_name() { let relay = TestRelay::start().await; - let config = AuditConfig::ci(); + let config = AuditConfig::isolated(); let client = AuditClient::new(relay.url(), config) .await .expect("Failed to create audit client"); diff --git a/tests/repository_creation.rs b/tests/repository_creation.rs index 352e2cc..a1cca11 100644 --- a/tests/repository_creation.rs +++ b/tests/repository_creation.rs @@ -38,7 +38,7 @@ macro_rules! isolated_test { #[tokio::test] async fn $test_name() { let relay = TestRelay::start().await; - let config = AuditConfig::ci(); + let config = AuditConfig::isolated(); let client = AuditClient::new(relay.url(), config) .await .expect("Failed to create audit client"); -- cgit v1.2.3