Skip to content
Permalink
Browse files

Fix test

  • Loading branch information
m-kuhn committed Sep 27, 2018
1 parent 374756b commit 3c379d36e6e785cd0addcdbc394bc5207e11691f
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/src/geometry_checker/testqgsgeometrychecks.cpp
@@ -547,7 +547,7 @@ void TestQgsGeometryChecks::testMissingVertexCheck()
check.collectErrors( checkErrors, messages );
listErrors( checkErrors, messages );

const QString layerId = testContext.second.first()->layerId();
const QString layerId = layers.values().first();
QVERIFY( searchCheckErrors( checkErrors, layerId, 0, QgsPointXY( 0.251153, -0.460895 ), QgsVertexId() ).size() == 1 );
QVERIFY( searchCheckErrors( checkErrors, layerId, 3, QgsPointXY( 0.257985, -0.932886 ), QgsVertexId() ).size() == 1 );
QVERIFY( searchCheckErrors( checkErrors, layerId, 5, QgsPointXY( 0.59781, -0.480033 ), QgsVertexId() ).size() == 1 );

0 comments on commit 3c379d3

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