Skip to content

Commit

Permalink
Fix a test under proj 6
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Apr 15, 2020
1 parent 7b0e808 commit 731aa90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/src/analysis/testqgsprocessing.cpp
Expand Up @@ -10063,7 +10063,7 @@ void TestQgsProcessing::convertCompatible()
// make sure all features are copied
std::unique_ptr< QgsVectorLayer > t = qgis::make_unique< QgsVectorLayer >( out, "vl2" );
QCOMPARE( layer->featureCount(), t->featureCount() );
QCOMPARE( layer->crs(), t->crs() );
QCOMPARE( layer->crs().authid(), QStringLiteral( "EPSG:4326" ) );

out = QgsProcessingUtils::convertToCompatibleFormatAndLayerName( layer, false, QStringLiteral( "test2" ), QStringList() << "tab", QString( "tab" ), context, &feedback, layerName );
QVERIFY( out != layer->source() );
Expand Down

0 comments on commit 731aa90

Please sign in to comment.