Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
Signed-off-by: simonsan <14062932+simonsan@users.noreply.github.com>
  • Loading branch information
simonsan committed Mar 30, 2024
1 parent 063b226 commit df635c7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions tests/integration/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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()?
);

Expand Down
2 changes: 1 addition & 1 deletion tests/integration/util.rs
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ pub fn setup_activity_store(kind: &ActivityStoreTestKind) -> TestResult<TestData
#[fixture]
pub fn setup_activity_store_for_activity_tracker() -> TestResult<ActivityStore> {
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)?,
Expand Down

0 comments on commit df635c7

Please sign in to comment.