diff options
Diffstat (limited to 'tests/auto/installer/appendfileoperation/tst_appendfileoperation.cpp')
-rw-r--r-- | tests/auto/installer/appendfileoperation/tst_appendfileoperation.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/auto/installer/appendfileoperation/tst_appendfileoperation.cpp b/tests/auto/installer/appendfileoperation/tst_appendfileoperation.cpp index 27061fe4b..1b2d63fd7 100644 --- a/tests/auto/installer/appendfileoperation/tst_appendfileoperation.cpp +++ b/tests/auto/installer/appendfileoperation/tst_appendfileoperation.cpp @@ -127,7 +127,8 @@ private slots: core->commitSessionOperations(); // We cannot check the file contents here as it will be deleted on // undo Extract, but at least check that the uninstallation succeeds. - QVERIFY(core->uninstallComponentsSilently(QStringList() << "A")); + QCOMPARE(PackageManagerCore::Success, core->uninstallComponentsSilently + (QStringList()<< "A")); QDir dir(installDir); QVERIFY(dir.removeRecursively()); |