Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
domi4484 committed Sep 1, 2021
1 parent b19b396 commit f4733ff
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/src/core/testqgslabelingengine.cpp
Expand Up @@ -1884,6 +1884,7 @@ void TestQgsLabelingEngine::testLabelRotationUnit()
settings.dataDefinedProperties().setProperty( QgsPalLayerSettings::LabelRotation, QgsProperty::fromExpression( QString::number( 3.14 / 2.0 ) ) );
settings.setRotationUnit( QgsUnitTypes::AngleRadians );

vl->setLabeling( new QgsVectorLayerSimpleLabeling( settings ) ); // TODO: this should not be necessary!
vl->setLabelsEnabled( true );

QgsDefaultLabelingEngine engine;
Expand Down

0 comments on commit f4733ff

Please sign in to comment.