Skip to content
Permalink
Browse files

Fix test

  • Loading branch information
elpaso committed Aug 22, 2018
1 parent 2da1d6f commit fbfb0bc8a5067fef3ee28c8af604bb019e98edd1
Showing with 2 additions and 2 deletions.
  1. +2 −2 tests/src/core/testqgsvectorfilewriter.cpp
@@ -487,8 +487,8 @@ void TestQgsVectorFileWriter::prepareWriteAsVectorFormat()
QgsVectorLayer vl( QStringLiteral( "%1|layername=test" ).arg( fileName ), "src_test", "ogr" );
QVERIFY( vl.isValid() );
QgsVectorFileWriter::prepareWriteAsVectorFormat( &vl, options, details );
QCOMPARE( details.providerUriParams.value( "layerName" ), QStringLiteral( "test" ) );
QCOMPARE( details.providerUriParams.value( "path" ), fileName );
QCOMPARE( details.providerUriParams.value( "layerName" ).toString(), QStringLiteral( "test" ) );
QCOMPARE( details.providerUriParams.value( "path" ).toString(), fileName );
}

QGSTEST_MAIN( TestQgsVectorFileWriter )

0 comments on commit fbfb0bc

Please sign in to comment.
You can’t perform that action at this time.