1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2024-12-14 11:03:09 +02:00

fix tests

This commit is contained in:
Christopher Fenner 2018-03-14 15:55:56 +01:00
parent 3ca1b6ac12
commit 3524f3cade
No known key found for this signature in database
GPG Key ID: 749881F766EA636F

View File

@ -65,9 +65,10 @@ class ConfigurationHelperTest {
void testConfigurationLoaderWithFilteredCustomSettings() {
Set filter = ['property2']
Map config = new ConfigurationHelper([property1: "27"])
.mixin([property1: "41"], filter)
.mixin([property1: "41", property2: "28"], filter)
.use()
// asserts
Assert.assertThat(config, hasEntry('property1', "27"))
Assert.assertThat(config, hasEntry('property2', "28"))
}
}