File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -563,11 +563,11 @@ void TestQgsAttributeTable::testCopySelectedRows()
563
563
564
564
QgsFeatureList features = clipboard->copyOf ();
565
565
QCOMPARE ( features.count (), 2 );
566
- QCOMPARE ( features.at ( 0 ).attribute ( 0 ), 1 );
567
- QCOMPARE ( features.at ( 0 ).attribute ( " col1" ), 2 );
566
+ QCOMPARE ( features.at ( 0 ).attribute ( 0 ), QVariant ( 1 ) );
567
+ QCOMPARE ( features.at ( 0 ).attribute ( " col1" ), QVariant ( 2 ) );
568
568
QCOMPARE ( features.at ( 0 ).attribute ( " col2" ), QVariant () );
569
- QCOMPARE ( features.at ( 1 ).attribute ( " pk" ), 2 );
570
- QCOMPARE ( features.at ( 1 ).attribute ( " col1" ), 4 );
569
+ QCOMPARE ( features.at ( 1 ).attribute ( " pk" ), QVariant ( 2 ) );
570
+ QCOMPARE ( features.at ( 1 ).attribute ( " col1" ), QVariant ( 4 ) );
571
571
QCOMPARE ( features.at ( 1 ).attribute ( 2 ), QVariant () );
572
572
573
573
QCOMPARE ( clipboard->crs ().authid (), " EPSG:3111" );
You can’t perform that action at this time.
0 commit comments