diff --git a/tests/auto/functional/orm/tiny/castattributes/tst_castattributes.cpp b/tests/auto/functional/orm/tiny/castattributes/tst_castattributes.cpp index 100bf5227..d67963e3f 100644 --- a/tests/auto/functional/orm/tiny/castattributes/tst_castattributes.cpp +++ b/tests/auto/functional/orm/tiny/castattributes/tst_castattributes.cpp @@ -1043,7 +1043,7 @@ void tst_CastAttributes::defaultCast_timestamp_QSQLITE_OffReturnQDateTime() cons // Skip model cache (I will not create special cache logic for this) auto type = Type::on(connection)->find(1); - Q_ASSERT(type); + QVERIFY(type); QCOMPARE(type->getAttribute(ID).value(), 1); auto attribute = type->getAttribute("timestamp"); @@ -1072,7 +1072,7 @@ void tst_CastAttributes::defaultCast_datetime_QSQLITE_OffReturnQDateTime() const // Skip model cache (I will not create special cache logic for this) auto type = Type::on(connection)->find(1); - Q_ASSERT(type); + QVERIFY(type); QCOMPARE(type->getAttribute(ID).value(), 1); auto attribute = type->getAttribute("datetime"); @@ -1101,7 +1101,7 @@ void tst_CastAttributes::defaultCast_date_QSQLITE_OffReturnQDateTime() const // Skip model cache (I will not create special cache logic for this) auto type = Type::on(connection)->find(1); - Q_ASSERT(type); + QVERIFY(type); QCOMPARE(type->getAttribute(ID).value(), 1); auto attribute = type->getAttribute("date"); diff --git a/tests/auto/functional/orm/tiny/softdeletes/tst_softdeletes.cpp b/tests/auto/functional/orm/tiny/softdeletes/tst_softdeletes.cpp index fb3eafa58..e642387a4 100644 --- a/tests/auto/functional/orm/tiny/softdeletes/tst_softdeletes.cpp +++ b/tests/auto/functional/orm/tiny/softdeletes/tst_softdeletes.cpp @@ -102,12 +102,12 @@ void tst_SoftDeletes::initTestCase() void tst_SoftDeletes::model_User_Extends_SoftDeletes() { - Q_ASSERT(User::extendsSoftDeletes()); + QVERIFY(User::extendsSoftDeletes()); } void tst_SoftDeletes::model_Setting_NotExtends_SoftDeletes() { - Q_ASSERT(!Setting::extendsSoftDeletes()); + QVERIFY(!Setting::extendsSoftDeletes()); } void tst_SoftDeletes::trashed() const