mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-06 00:07:29 -04:00
Update test to work with Qt 6 null QVariant logic
This commit is contained in:
parent
eb039e5b47
commit
29ea5d6b2c
@ -263,8 +263,8 @@ void TestQgsValueRelationWidgetWrapper::testDrillDown()
|
||||
// Check null is selected
|
||||
QCOMPARE( w_municipality.mComboBox->count(), 3 );
|
||||
QCOMPARE( w_municipality.mComboBox->itemText( 0 ), QStringLiteral( "(no selection)" ) );
|
||||
QVERIFY( w_municipality.value().isNull() );
|
||||
QCOMPARE( w_municipality.value().toString(), QString() );
|
||||
QCOMPARE( w_municipality.mComboBox->currentIndex(), 0 );
|
||||
QVERIFY( QgsVariantUtils::isNull( w_municipality.value() ) );
|
||||
|
||||
// Check order by value false
|
||||
cfg_municipality[QStringLiteral( "AllowNull" )] = false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user