Navigation Menu

Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Sep 27, 2018
1 parent 374756b commit 3c379d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/src/geometry_checker/testqgsgeometrychecks.cpp
Expand Up @@ -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 );
Expand Down

0 comments on commit 3c379d3

Please sign in to comment.