diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2025-11-28 04:35:03 +0000 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2025-11-28 04:35:03 +0000 |
| commit | c283c38add8d2b0e8359d8b03c064a188a43d6e0 (patch) | |
| tree | 418424247873d3ad76ab4edb16726fb5da2044f6 | |
| parent | eee0a521afe0492f04bee58c9a236683fb23601b (diff) | |
fix cargo test
| -rw-r--r-- | tests/cors.rs | 1 | ||||
| -rw-r--r-- | tests/git_clone.rs | 1 | ||||
| -rw-r--r-- | tests/push_authorization.rs | 1 | ||||
| -rw-r--r-- | tests/repository_creation.rs | 2 |
4 files changed, 1 insertions, 4 deletions
diff --git a/tests/cors.rs b/tests/cors.rs index addcb1d..a27c145 100644 --- a/tests/cors.rs +++ b/tests/cors.rs | |||
| @@ -68,7 +68,6 @@ macro_rules! isolated_cors_test_with_repo { | |||
| 68 | 68 | ||
| 69 | let result = CorsTests::$test_name( | 69 | let result = CorsTests::$test_name( |
| 70 | &client, | 70 | &client, |
| 71 | relay.git_data_dir(), | ||
| 72 | &relay.domain(), | 71 | &relay.domain(), |
| 73 | ) | 72 | ) |
| 74 | .await; | 73 | .await; |
diff --git a/tests/git_clone.rs b/tests/git_clone.rs index c6be3f6..ffb04a3 100644 --- a/tests/git_clone.rs +++ b/tests/git_clone.rs | |||
| @@ -44,7 +44,6 @@ macro_rules! isolated_test { | |||
| 44 | 44 | ||
| 45 | let result = GitCloneTests::$test_name( | 45 | let result = GitCloneTests::$test_name( |
| 46 | &client, | 46 | &client, |
| 47 | relay.git_data_dir(), | ||
| 48 | &relay.domain(), | 47 | &relay.domain(), |
| 49 | ) | 48 | ) |
| 50 | .await; | 49 | .await; |
diff --git a/tests/push_authorization.rs b/tests/push_authorization.rs index 0a9ffb9..1114782 100644 --- a/tests/push_authorization.rs +++ b/tests/push_authorization.rs | |||
| @@ -45,7 +45,6 @@ macro_rules! isolated_push_test { | |||
| 45 | 45 | ||
| 46 | let result = PushAuthorizationTests::$test_name( | 46 | let result = PushAuthorizationTests::$test_name( |
| 47 | &client, | 47 | &client, |
| 48 | relay.git_data_dir(), | ||
| 49 | &relay.domain() | 48 | &relay.domain() |
| 50 | ).await; | 49 | ).await; |
| 51 | 50 | ||
diff --git a/tests/repository_creation.rs b/tests/repository_creation.rs index 87a7a0c..301203b 100644 --- a/tests/repository_creation.rs +++ b/tests/repository_creation.rs | |||
| @@ -43,7 +43,7 @@ macro_rules! isolated_test { | |||
| 43 | .await | 43 | .await |
| 44 | .expect("Failed to create audit client"); | 44 | .expect("Failed to create audit client"); |
| 45 | 45 | ||
| 46 | let result = RepositoryCreationTests::$test_name(&client, relay.git_data_dir()).await; | 46 | let result = RepositoryCreationTests::$test_name(&client, &relay.domain()).await; |
| 47 | 47 | ||
| 48 | relay.stop().await; | 48 | relay.stop().await; |
| 49 | 49 | ||