diff --git a/tests/unit/unittest/projectupdater-test.cpp b/tests/unit/unittest/projectupdater-test.cpp index 960a2564697..ea1c14dc353 100644 --- a/tests/unit/unittest/projectupdater-test.cpp +++ b/tests/unit/unittest/projectupdater-test.cpp @@ -86,7 +86,7 @@ protected: void SetUp() override { - project.rootProjectDirectoryPath.pathAppended("project"); + project.rootProjectDirectoryPath = Utils::FilePath::fromString("project"); projectPart.project = &project; projectPart.files.push_back(header1ProjectFile); projectPart.files.push_back(header2ProjectFile);