Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbruy committed Mar 15, 2020
1 parent 2df995f commit 539a7ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/src/gui/testprocessinggui.cpp
Expand Up @@ -3985,7 +3985,7 @@ void TestProcessingGui::mapLayerComboBox()
param.reset();

// map layer param, only point vector and raster types are acceptable
param = qgis::make_unique< QgsProcessingParameterMapLayer> ( QStringLiteral( "param" ), QString(), QVariant(), false, QList< int > << QgsProcessing::TypeVectorPoint << QgsProcessing::TypeRaster );
param = qgis::make_unique< QgsProcessingParameterMapLayer> ( QStringLiteral( "param" ), QString(), QVariant(), false, QList< int >() << QgsProcessing::TypeVectorPoint << QgsProcessing::TypeRaster );
combo = qgis::make_unique< QgsProcessingMapLayerComboBox >( param.get() );
combo->setLayer( point );
QCOMPARE( combo->currentLayer(), point );
Expand Down

0 comments on commit 539a7ff

Please sign in to comment.