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:
parent
3ca1b6ac12
commit
3524f3cade
@ -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"))
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user