Skip to content

Commit

Permalink
fix: conform with junit engine 1.9.1
Browse files Browse the repository at this point in the history
  • Loading branch information
giurim committed Sep 26, 2022
1 parent c538094 commit fc03eb7
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,12 @@ default EngineDiscoveryRequest createClassDiscoveryRequest(String... classNames)
}

default ConfigurationParameters configurationParametersOf(Map<String, Object> configParams) {
return new ConfigurationParameters() {
return new ConfigurationParameters() {
@Override
public Set<String> keySet() {
return configParams.keySet();
}

@Override
public Optional<String> get(String key) {
return Optional.ofNullable(configParams.get(key).toString());
Expand Down

0 comments on commit fc03eb7

Please sign in to comment.