Skip to content
Permalink
Browse files

Fix test data

  • Loading branch information
elpaso authored and nyalldawson committed Jun 19, 2020
1 parent fb9de10 commit 6d151404543d1b7e0195472cd8a6e85f7e0ea35c
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/src/gui/testqgsvaluerelationwidgetwrapper.cpp
@@ -242,7 +242,7 @@ void TestQgsValueRelationWidgetWrapper::testDrillDownMulti()
{
// create a vector layer
QgsVectorLayer vl1( QStringLiteral( "Polygon?crs=epsg:4326&field=pk:int&field=province:int&field=municipality:string" ), QStringLiteral( "vl1" ), QStringLiteral( "memory" ) );
QgsVectorLayer vl2( QStringLiteral( "Point?crs=epsg:4326&field=pk:int&field=fk_province:int&field=fk_municipality:int" ), QStringLiteral( "vl2" ), QStringLiteral( "memory" ) );
QgsVectorLayer vl2( QStringLiteral( "Point?crs=epsg:4326&field=pk:int&field=fk_province:int&field=fk_municipality:string" ), QStringLiteral( "vl2" ), QStringLiteral( "memory" ) );
QgsProject::instance()->addMapLayer( &vl1, false, false );
QgsProject::instance()->addMapLayer( &vl2, false, false );

0 comments on commit 6d15140

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