diff --git a/python/plugins/processing/tests/testdata/expected/points_to_path_grouped.gml b/python/plugins/processing/tests/testdata/expected/points_to_path_grouped.gml
index e69dc657ede..67702ba0eae 100644
--- a/python/plugins/processing/tests/testdata/expected/points_to_path_grouped.gml
+++ b/python/plugins/processing/tests/testdata/expected/points_to_path_grouped.gml
@@ -11,14 +11,6 @@
-
-
- 1,1 5,2
- 2
- 1
- 4
-
-
2,2 0,-5 8,-1 7,-1 0,-1
@@ -35,5 +27,13 @@
5
+
+
+ 1,1 5,2
+ 2
+ 1
+ 4
+
+
diff --git a/python/plugins/processing/tests/testdata/qgis_algorithm_tests2.yaml b/python/plugins/processing/tests/testdata/qgis_algorithm_tests2.yaml
index e1fcdbea653..c05996dcf17 100755
--- a/python/plugins/processing/tests/testdata/qgis_algorithm_tests2.yaml
+++ b/python/plugins/processing/tests/testdata/qgis_algorithm_tests2.yaml
@@ -1598,6 +1598,10 @@ tests:
name:
- expected/points_to_path_grouped.gml
type: vector
+ pk: id2
+ compare:
+ fields:
+ fid: skip
- algorithm: qgis:pointstopath
name: Points to path (close path)