Skip to content

Commit

Permalink
chore: move test fixtures (#41)
Browse files Browse the repository at this point in the history
- Canonical location is `tests`, and having an additional `test` dir is
unnecessary.
- Use canonical name `fixtures`

Co-Authored-By: Gilad Chase <[email protected]>
  • Loading branch information
giladchase and Gilad Chase authored Apr 11, 2024
1 parent 6759071 commit 7b06d43
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crates/gateway/src/gateway_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion crates/gateway/tests/routing_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 7b06d43

Please sign in to comment.