diff --git a/crates/gateway/src/gateway_test.rs b/crates/gateway/src/gateway_test.rs index 729275a4..d3a327b3 100644 --- a/crates/gateway/src/gateway_test.rs +++ b/crates/gateway/src/gateway_test.rs @@ -9,7 +9,7 @@ use starknet_api::external_transaction::ExternalTransaction; use std::fs::File; use std::path::Path; -const TEST_FILES_FOLDER: &str = "./test/gateway/json_files_for_testing"; +const TEST_FILES_FOLDER: &str = "./tests/fixtures"; // TODO(Ayelet): Replace the use of the JSON files with generated instances, then serialize these // into JSON for testing. diff --git a/crates/gateway/test/gateway/json_files_for_testing/declare_v3.json b/crates/gateway/tests/fixtures/declare_v3.json similarity index 100% rename from crates/gateway/test/gateway/json_files_for_testing/declare_v3.json rename to crates/gateway/tests/fixtures/declare_v3.json diff --git a/crates/gateway/test/gateway/json_files_for_testing/deploy_account_v3.json b/crates/gateway/tests/fixtures/deploy_account_v3.json similarity index 100% rename from crates/gateway/test/gateway/json_files_for_testing/deploy_account_v3.json rename to crates/gateway/tests/fixtures/deploy_account_v3.json diff --git a/crates/gateway/test/gateway/json_files_for_testing/invoke_v3.json b/crates/gateway/tests/fixtures/invoke_v3.json similarity index 100% rename from crates/gateway/test/gateway/json_files_for_testing/invoke_v3.json rename to crates/gateway/tests/fixtures/invoke_v3.json diff --git a/crates/gateway/tests/routing_test.rs b/crates/gateway/tests/routing_test.rs index 32512d5e..43d87dc9 100644 --- a/crates/gateway/tests/routing_test.rs +++ b/crates/gateway/tests/routing_test.rs @@ -7,7 +7,7 @@ use std::fs; use std::path::Path; use tower::ServiceExt; -const TEST_FILES_FOLDER: &str = "./test/gateway/json_files_for_testing"; +const TEST_FILES_FOLDER: &str = "./tests/fixtures"; // TODO(Ayelet): Replace the use of the JSON files with generated instances, then serialize these // into JSON for testing.