Skip to content

Commit d73210a

Browse files
committed
Update test mask image
1 parent 3ac9364 commit d73210a

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

tests/src/gui/testqgsmapcanvas.cpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ void TestQgsMapCanvas::testMagnification()
213213

214214
checker.setControlName( "expected_map_magnification" );
215215
checker.setRenderedImage( tmpName );
216-
checker.setSizeTolerance( 2, 2 );
216+
checker.setSizeTolerance( 10, 10 );
217217
QCOMPARE( checker.compareImages( "map_magnification", 100 ), true );
218218

219219
// set magnification factor (auto refresh)
@@ -232,7 +232,7 @@ void TestQgsMapCanvas::testMagnification()
232232
checker.setRenderedImage( tmpName );
233233
checker.setControlName( "expected_map_magnification_6_5" );
234234
controlImageDir = testDataDir + "control_images/";
235-
checker.setSizeTolerance( 2, 2 );
235+
checker.setSizeTolerance( 10, 10 );
236236
QCOMPARE( checker.compareImages( "map_magnification_6_5", 100 ), true );
237237

238238
// set magnification factor (auto refresh)
@@ -250,7 +250,7 @@ void TestQgsMapCanvas::testMagnification()
250250

251251
checker.setControlName( "expected_map_magnification" );
252252
checker.setRenderedImage( tmpName );
253-
checker.setSizeTolerance( 2, 2 );
253+
checker.setSizeTolerance( 10, 10 );
254254
QCOMPARE( checker.compareImages( "map_magnification", 100 ), true );
255255
}
256256

0 commit comments

Comments
 (0)