Skip to content

Commit 7497e53

Browse files
committed
fix style test
1 parent 97a6991 commit 7497e53

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/src/core/testqgsstylev2.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -127,13 +127,13 @@ void TestStyleV2::testCreateColorRamps()
127127

128128
// discrete ramp with no variant
129129
QgsCptCityColorRampV2* cc1Ramp = new QgsCptCityColorRampV2( "cb/seq/PuBuGn_06", "" );
130-
QVERIFY( mStyle->addColorRamp( "test_cc1", cc1Ramp ) );
130+
QVERIFY( mStyle->addColorRamp( "test_cc1", cc1Ramp, true ) );
131131
// discrete ramp with variant
132132
QgsCptCityColorRampV2* cc2Ramp = new QgsCptCityColorRampV2( "cb/div/PiYG", "_10" );
133-
QVERIFY( mStyle->addColorRamp( "test_cc2", cc2Ramp ) );
133+
QVERIFY( mStyle->addColorRamp( "test_cc2", cc2Ramp, true ) );
134134
// continuous ramp
135135
QgsCptCityColorRampV2* cc3Ramp = new QgsCptCityColorRampV2( "grass/byr", "" );
136-
QVERIFY( mStyle->addColorRamp( "test_cc3", cc3Ramp ) );
136+
QVERIFY( mStyle->addColorRamp( "test_cc3", cc3Ramp, true ) );
137137
}
138138

139139
void TestStyleV2::testLoadColorRamps()

0 commit comments

Comments
 (0)