Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
troopa81 committed Sep 6, 2019
1 parent 0af6155 commit 17e6356
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/core/qgssnappingutils.h
Expand Up @@ -278,6 +278,7 @@ class CORE_EXPORT QgsSnappingUtils : public QObject
friend class TestQgsMapToolTrimExtendFeature;
friend class TestQgsMapToolReshape;
friend class TestQgsMapToolAddFeaturePoint;
friend class TestQgsMapToolReverseLine;
};


Expand Down
4 changes: 2 additions & 2 deletions tests/src/app/testqgsmaptoolreverseline.cpp
Expand Up @@ -25,7 +25,7 @@
#include "testqgsmaptoolutils.h"
#include "qgsmaptoolreverseline.h"
#include "qgsmapmouseevent.h"

#include "qgssnappingutils.h"

class TestQgsMapToolReverseLine : public QObject
{
Expand Down Expand Up @@ -60,7 +60,7 @@ void TestQgsMapToolReverseLine::initTestCase()

mCanvas = new QgsMapCanvas();
mCanvas->setDestinationCrs( QgsCoordinateReferenceSystem( QStringLiteral( "EPSG:3946" ) ) );

mCanvas->snappingUtils()->mAsynchronous = false;
}

void TestQgsMapToolReverseLine::cleanupTestCase()
Expand Down

0 comments on commit 17e6356

Please sign in to comment.