summaryrefslogtreecommitdiffstats
path: root/tests/auto/sql
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/sql')
-rw-r--r--tests/auto/sql/kernel/qsqlquery/tst_qsqlquery.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/sql/kernel/qsqlquery/tst_qsqlquery.cpp b/tests/auto/sql/kernel/qsqlquery/tst_qsqlquery.cpp
index 54bdd52230..527a9ba647 100644
--- a/tests/auto/sql/kernel/qsqlquery/tst_qsqlquery.cpp
+++ b/tests/auto/sql/kernel/qsqlquery/tst_qsqlquery.cpp
@@ -2265,7 +2265,7 @@ void tst_QSqlQuery::prepare_bind_exec()
QVERIFY( q.next() );
QCOMPARE( q.value( 0 ).toInt(), 6 );
- QVERIFY( q.isNull( 1 ) );
+ QVERIFY( q.value( 1 ).toString().isEmpty() );
if ( useUnicode ) {
QVERIFY( q.next() );