1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2024-12-12 10:55:20 +02:00

Don't use deprecated methods with CPE null

This commit is contained in:
Marcus Holl 2019-11-12 15:57:16 +01:00
parent 74365f7419
commit 7ed89ea223

View File

@ -109,9 +109,9 @@ class ConfigurationHelperTest {
Map config = ConfigurationHelper.newInstance(mockScript, [property1: '27'])
.loadStepDefaults()
.mixinGeneralConfig(null, null, [general2: 'oldGeneral'])
.mixinStageConfig(null, 'testStage', null, [stage2: 'oldStage'])
.mixinStepConfig(null, null, [step2: 'oldStep'])
.mixinGeneralConfig(null, [general2: 'oldGeneral'])
.mixinStageConfig('testStage', null, [stage2: 'oldStage'])
.mixinStepConfig(null, [step2: 'oldStep'])
.mixin([property1: '41', property2: '28', property3: '29'], filter)
.use()
// asserts