Skip to content

Commit

Permalink
refactor: [#56] rename test mods to follow prod mods
Browse files Browse the repository at this point in the history
  • Loading branch information
josecelano committed Nov 30, 2022
1 parent e8d984d commit 19d054e
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion tests/upgrades/from_v1_0_0_to_v2_0_0/mod.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pub mod sqlite_v1_0_0;
pub mod sqlite_v2_0_0;
pub mod testers;
pub mod transferrer_testers;
pub mod upgrader;
4 changes: 0 additions & 4 deletions tests/upgrades/from_v1_0_0_to_v2_0_0/testers/mod.rs

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
pub mod category_transferrer_tester;
pub mod torrent_transferrer_tester;
pub mod tracker_key_transferrer_tester;
pub mod user_transferrer_tester;
8 changes: 4 additions & 4 deletions tests/upgrades/from_v1_0_0_to_v2_0_0/upgrader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ use torrust_index_backend::upgrades::from_v1_0_0_to_v2_0_0::upgrader::{datetime_

use crate::upgrades::from_v1_0_0_to_v2_0_0::sqlite_v1_0_0::SqliteDatabaseV1_0_0;
use crate::upgrades::from_v1_0_0_to_v2_0_0::sqlite_v2_0_0::SqliteDatabaseV2_0_0;
use crate::upgrades::from_v1_0_0_to_v2_0_0::testers::category_tester::CategoryTester;
use crate::upgrades::from_v1_0_0_to_v2_0_0::testers::torrent_tester::TorrentTester;
use crate::upgrades::from_v1_0_0_to_v2_0_0::testers::tracker_key_tester::TrackerKeyTester;
use crate::upgrades::from_v1_0_0_to_v2_0_0::testers::user_tester::UserTester;
use crate::upgrades::from_v1_0_0_to_v2_0_0::transferrer_testers::category_transferrer_tester::CategoryTester;
use crate::upgrades::from_v1_0_0_to_v2_0_0::transferrer_testers::torrent_transferrer_tester::TorrentTester;
use crate::upgrades::from_v1_0_0_to_v2_0_0::transferrer_testers::tracker_key_transferrer_tester::TrackerKeyTester;
use crate::upgrades::from_v1_0_0_to_v2_0_0::transferrer_testers::user_transferrer_tester::UserTester;

struct TestConfig {
// Directories
Expand Down

0 comments on commit 19d054e

Please sign in to comment.