diff --git a/python/plugins/processing/tests/testdata/custom/pol.gpkg b/python/plugins/processing/tests/testdata/custom/pol.gpkg new file mode 100644 index 000000000000..7452b669c6f9 Binary files /dev/null and b/python/plugins/processing/tests/testdata/custom/pol.gpkg differ diff --git a/python/plugins/processing/tests/testdata/expected/merged_pol.gpkg b/python/plugins/processing/tests/testdata/expected/merged_pol.gpkg new file mode 100644 index 000000000000..f13621245276 Binary files /dev/null and b/python/plugins/processing/tests/testdata/expected/merged_pol.gpkg differ diff --git a/python/plugins/processing/tests/testdata/qgis_algorithm_tests.yaml b/python/plugins/processing/tests/testdata/qgis_algorithm_tests.yaml index a42a4ff0672c..5dceedfdf620 100755 --- a/python/plugins/processing/tests/testdata/qgis_algorithm_tests.yaml +++ b/python/plugins/processing/tests/testdata/qgis_algorithm_tests.yaml @@ -6232,5 +6232,22 @@ tests: name: expected/interpolate_point_polys.gml type: vector + - algorithm: native:mergevectorlayersconflictingfid + name: Merge vector layers with conflicting feature ids + params: + LAYERS: + params: + - name: custom/pol.gpkg|layername=pol1 + type: vector + - name: custom/pol.gpkg|layername=pol2 + type: vector + - name: custom/pol.gpkg|layername=pol3 + type: vector + type: multi + results: + OUTPUT: + name: ogr:dbname='expected/merged_pol.gpkg' table="output" (geom) sql= + uri: expected/merged_pol.gpkg|layername=output + type: vector # See ../README.md for a description of the file format