Skip to content

MockEnvironment does not accept Object property values #34947

Closed
@sbrannen

Description

@sbrannen

The setProperty() and withProperty() methods in MockEnvironment currently have (String, String) signatures; whereas, they should actually have (String, Object) signatures to match the corresponding signatures in MockPropertySource as well as the Object getProperty(String) declaration in PropertySource.

Metadata

Metadata

Assignees

Labels

in: testIssues in the test moduletype: bugA general bug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions