Skip to content

Commit

Permalink
removed query test
Browse files Browse the repository at this point in the history
  • Loading branch information
aaron-auc committed Sep 2, 2024
1 parent 77a89e0 commit 69b88e6
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
10 changes: 0 additions & 10 deletions test/utils/test_us_db2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
1 change: 0 additions & 1 deletion test/utils/test_us_db2.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ private slots:
void testConstructor();
void testConnection();
void testSecureConnection();
void testQuery();
};

#endif // TEST_US_DB2_H

0 comments on commit 69b88e6

Please sign in to comment.