Fix failing test

This commit is contained in:
Matthias Kuhn 2017-03-15 15:10:18 +01:00
parent 255eb98be6
commit babab3da01

View File

@ -428,9 +428,9 @@ void TestQgsFeature::equality()
feature5.setAttribute( 0, QStringLiteral( "attr1" ) );
feature5.setAttribute( 1, QStringLiteral( "attr2" ) );
feature5.setAttribute( 2, QStringLiteral( "attr3" ) );
feature5.setValid( false );
feature5.setId( 1 );
feature5.setGeometry( QgsGeometry( new QgsPointV2( 1, 2 ) ) );
feature5.setValid( false );
QVERIFY( feature != feature5 );