Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lbartoletti committed Oct 21, 2020
1 parent 4d50f00 commit 22ee3d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/src/app/testqgsvertextool.cpp
Expand Up @@ -385,8 +385,8 @@ void TestQgsVertexTool::testTopologicalEditingMoveVertexOnSegmentZ()
mouseClick( 6, 6, Qt::LeftButton, Qt::KeyboardModifiers(), true );
mouseClick( 6, 7, Qt::LeftButton, Qt::KeyboardModifiers(), true );

QCOMPARE( mLayerLineZ->getFeature( mFidLineZF1 ).geometry().asWkt(), QString( "LineStringZ (5 5 1, 6 7 1, 7 5 1)" ) );
QCOMPARE( mLayerLineZ->getFeature( mFidLineZF2 ).geometry().asWkt(), QString( "LineStringZ (5 7 5, 6 7 333, 7 7 10)" ) );
QCOMPARE( mLayerLineZ->getFeature( mFidLineZF1 ).geometry().asWkt(), QString( "LineStringZ (5 5 1, 6 7 7.5, 7 5 1)" ) );
QCOMPARE( mLayerLineZ->getFeature( mFidLineZF2 ).geometry().asWkt(), QString( "LineStringZ (5 7 5, 6 7 7.5, 7 7 10)" ) );

QgsProject::instance()->setTopologicalEditing( topologicalEditing );
mLayerLineZ->undoStack()->undo();
Expand Down

0 comments on commit 22ee3d0

Please sign in to comment.