Adapt to workingCopyPathMode() removal

This commit is contained in:
Martchus 2019-05-11 19:01:16 +02:00
parent c17db5f2f6
commit b9bc756521
1 changed files with 1 additions and 1 deletions

View File

@ -331,7 +331,7 @@ void UtilitiesTests::testBackupFile()
TESTUTILS_ASSERT_LIKE("renaming error", "Unable to rename original file before rewriting it: .*"s, string(failure.what()));
}
backupStream2.clear();
workingCopyPathMode("bak/unsupported.bin", WorkingCopyMode::NoCopy);
workingCopyPath("bak/unsupported.bin", WorkingCopyMode::NoCopy);
createBackupFile("bak", file.path(), backupPath2, file.stream(), backupStream2);
CPPUNIT_ASSERT_EQUAL(workingDir + "/bak/unsupported.bin", backupPath2);