Skip to content

Commit

Permalink
Fix test on newer GDAL versions
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Apr 18, 2024
1 parent d95ac4a commit fbad0b4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/src/analysis/testqgsprocessing.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2744,6 +2744,7 @@ void TestQgsProcessing::parameters()
QVERIFY( sink.get() );
QgsVectorFileWriter *writer = dynamic_cast< QgsVectorFileWriter *>( dynamic_cast< QgsProcessingFeatureSink * >( sink.get() )->destinationSink() );
QVERIFY( writer );
sink.reset();
layer = qobject_cast< QgsVectorLayer *>( QgsProcessingUtils::mapLayerFromString( destId, context ) );
QVERIFY( layer );
QVERIFY( layer->isValid() );
Expand Down

0 comments on commit fbad0b4

Please sign in to comment.