refactor(test): fix loading mod metadata setting

This commit is contained in:
Sefa Eyeoglu
2022-06-04 15:30:34 +02:00
parent e843b8e188
commit 8856c8cd62
14 changed files with 28 additions and 25 deletions

View File

@@ -32,7 +32,7 @@ slots:
{
QString folder = source;
QTemporaryDir tempDir;
ModFolderModel m(tempDir.path());
ModFolderModel m(tempDir.path(), true);
m.installMod(folder);
verify(tempDir.path());
}
@@ -41,7 +41,7 @@ slots:
{
QString folder = source + '/';
QTemporaryDir tempDir;
ModFolderModel m(tempDir.path());
ModFolderModel m(tempDir.path(), true);
m.installMod(folder);
verify(tempDir.path());
}