Skip to content
Permalink
Browse files

fix tests

  • Loading branch information
alexbruy committed Mar 15, 2020
1 parent 2df995f commit 539a7ff3714bda517089e513bd669c7669e27abe
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/src/gui/testprocessinggui.cpp
@@ -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 );

0 comments on commit 539a7ff

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