@@ -213,7 +213,7 @@ void TestQgsMapCanvas::testMagnification()
213
213
214
214
checker.setControlName ( " expected_map_magnification" );
215
215
checker.setRenderedImage ( tmpName );
216
- checker.setSizeTolerance ( 2 , 2 );
216
+ checker.setSizeTolerance ( 10 , 10 );
217
217
QCOMPARE ( checker.compareImages ( " map_magnification" , 100 ), true );
218
218
219
219
// set magnification factor (auto refresh)
@@ -232,7 +232,7 @@ void TestQgsMapCanvas::testMagnification()
232
232
checker.setRenderedImage ( tmpName );
233
233
checker.setControlName ( " expected_map_magnification_6_5" );
234
234
controlImageDir = testDataDir + " control_images/" ;
235
- checker.setSizeTolerance ( 2 , 2 );
235
+ checker.setSizeTolerance ( 10 , 10 );
236
236
QCOMPARE ( checker.compareImages ( " map_magnification_6_5" , 100 ), true );
237
237
238
238
// set magnification factor (auto refresh)
@@ -250,7 +250,7 @@ void TestQgsMapCanvas::testMagnification()
250
250
251
251
checker.setControlName ( " expected_map_magnification" );
252
252
checker.setRenderedImage ( tmpName );
253
- checker.setSizeTolerance ( 2 , 2 );
253
+ checker.setSizeTolerance ( 10 , 10 );
254
254
QCOMPARE ( checker.compareImages ( " map_magnification" , 100 ), true );
255
255
}
256
256
0 commit comments