Skip to content

Commit 1871a4c

Browse files
committed
Fix expression test
make sure the style file with the color ramp can be copied to the settings path
1 parent 402b6d0 commit 1871a4c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/src/core/testqgsexpression.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@ class TestQgsExpression: public QObject
5454
// init QGIS's paths - true means that all path will be inited from prefix
5555
QgsApplication::init();
5656
QgsApplication::initQgis();
57+
// Will make sure the settings dir with the style file for color ramp is created
58+
QgsApplication::createDB();
5759
QgsApplication::showSettings();
5860
}
5961

0 commit comments

Comments
 (0)