From df635c78087a58b276df2d5bcdd495d118d8bf92 Mon Sep 17 00:00:00 2001 From: simonsan <14062932+simonsan@users.noreply.github.com> Date: Sat, 30 Mar 2024 01:04:57 +0100 Subject: [PATCH] fix tests Signed-off-by: simonsan <14062932+simonsan@users.noreply.github.com> --- tests/integration/config.rs | 4 ++-- tests/integration/util.rs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/integration/config.rs b/tests/integration/config.rs index 2959c0a8..06d413d8 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 26a9f1cc..c1a014b6 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)?,