diff --git a/test/utils/test_us_db2.cpp b/test/utils/test_us_db2.cpp index a2e0617f8..a7568c4b9 100644 --- a/test/utils/test_us_db2.cpp +++ b/test/utils/test_us_db2.cpp @@ -60,13 +60,3 @@ void TestUSDB2::testSecureConnection() QVERIFY(!err.isEmpty()); #endif } - -void TestUSDB2::testQuery() -{ -#ifndef NO_DB - US_DB2 db; - QString query = "SELECT 1"; - db.rawQuery(query); - QVERIFY(db.numRows() == -1); // Should fail as no real database is connected -#endif -} diff --git a/test/utils/test_us_db2.h b/test/utils/test_us_db2.h index ed18408e7..c7b591217 100644 --- a/test/utils/test_us_db2.h +++ b/test/utils/test_us_db2.h @@ -15,7 +15,6 @@ private slots: void testConstructor(); void testConnection(); void testSecureConnection(); - void testQuery(); }; #endif // TEST_US_DB2_H