diff --git a/src/Util_TEST.cc b/src/Util_TEST.cc index 139391f52e..9ec0e9be1a 100644 --- a/src/Util_TEST.cc +++ b/src/Util_TEST.cc @@ -17,7 +17,6 @@ #include #include -#include #include #include #include @@ -1020,7 +1019,8 @@ TEST_F(UtilTest, LoadMesh) EXPECT_NE(nullptr, loadMesh(meshSdf)); meshSdf.SetUri("duck.dae"); - std::string filePath = common::testing::TestFile("media", "duck.dae"); + std::string filePath = common::joinPaths(std::string(PROJECT_SOURCE_PATH), + "test", "media", "duck.dae"); meshSdf.SetFilePath(filePath); EXPECT_NE(nullptr, loadMesh(meshSdf));