diff --git a/tests/src/analysis/testqgsrastercalculator.cpp b/tests/src/analysis/testqgsrastercalculator.cpp index 244adeff1b7..1dee37ea092 100644 --- a/tests/src/analysis/testqgsrastercalculator.cpp +++ b/tests/src/analysis/testqgsrastercalculator.cpp @@ -727,14 +727,14 @@ void TestQgsRasterCalculator::testOutputCrsFromRasterEntries() QVector entries; entries << entry1; - + QgsRectangle extent( 783235, 3348110, 783350, 3347960 ); - + QTemporaryFile tmpFile; tmpFile.open(); // fileName is not available until open QString tmpName = tmpFile.fileName(); tmpFile.close(); - + QgsRasterCalculator rc( QStringLiteral( "\"landsat@0\"" ), tmpName, QStringLiteral( "GTiff" ), extent, 2, 3, entries, QgsProject::instance()->transformContext() ); QCOMPARE( static_cast( rc.processCalculation() ), 0 ); //open output file and check results