diff --git a/tests/integration/config.rs b/tests/integration/config.rs index 2959c0a..06d413d 100644 --- a/tests/integration/config.rs +++ b/tests/integration/config.rs @@ -13,7 +13,7 @@ fn test_find_root_projects_file() -> TestResult<()> { // navigate to the test directory for the fixtures let root = current_dir - .join("../../tests/fixtures/project1/subproject-a/") + .join("tests/fixtures/project1/subproject-a/") .canonicalize()?; // get the path to the projects config file @@ -22,7 +22,7 @@ fn test_find_root_projects_file() -> TestResult<()> { assert_eq!( projects_config_path, current_dir - .join("../../tests/fixtures/project1/projects.pace.toml") + .join("tests/fixtures/project1/projects.pace.toml") .canonicalize()? ); diff --git a/tests/integration/util.rs b/tests/integration/util.rs index 26a9f1c..c1a014b 100644 --- a/tests/integration/util.rs +++ b/tests/integration/util.rs @@ -174,7 +174,7 @@ pub fn setup_activity_store(kind: &ActivityStoreTestKind) -> TestResult TestResult { let fixture_path = - Path::new("../../tests/fixtures/activity_tracker/activities.pace.toml").canonicalize()?; + Path::new("tests/fixtures/activity_tracker/activities.pace.toml").canonicalize()?; Ok(ActivityStore::with_storage(Arc::new( TomlActivityStorage::new(fixture_path)?,