From 986b8f7e9049502960a77650b61a4c47da6e26a2 Mon Sep 17 00:00:00 2001 From: silverqx Date: Fri, 29 Jul 2022 19:29:10 +0200 Subject: [PATCH] tests removed unused code --- tests/auto/functional/orm/tiny/model/tst_model.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/tests/auto/functional/orm/tiny/model/tst_model.cpp b/tests/auto/functional/orm/tiny/model/tst_model.cpp index 701ca84bf..039dae259 100644 --- a/tests/auto/functional/orm/tiny/model/tst_model.cpp +++ b/tests/auto/functional/orm/tiny/model/tst_model.cpp @@ -1369,8 +1369,6 @@ void tst_Model::update_OnNonExistentModel() const void tst_Model::update_NonExistentAttribute() const { -// try { - QFETCH_GLOBAL(QString, connection); ConnectionOverride::connection = connection; @@ -1383,9 +1381,6 @@ void tst_Model::update_NonExistentAttribute() const Torrent::save() returns true in this case, it's like calling the update() with no or empty attributes. */ QVERIFY(torrent->update({{"progress-NON_EXISTENT", 333}})); -// } catch (const std::exception &e) { -// qWarning() << e.what(); -// } } void tst_Model::update_SameValue() const