Skip to content
Snippets Groups Projects

Fix of hard coded test data file paths in tests

Merged Marek Szuba requested to merge test-file-path into master

Created by: tgrego

Description

Tests used an absolute path for the test files, so if test where run from a different location other than the root of the repo it would fail to find the files. This changes the path to a relative path, so that it always finds the test files.

Use case

Tests are sometimes run from locations other than the root of the repo, and it would fail to find the test files.

Benefits

Path for test files is now always correct.

Possible Drawbacks

none I can think of.

Testing

Have you added/modified unit tests to test the changes? yes

If so, do the tests pass/fail? pass

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply