Skip to content

Commit

Permalink
Update SmallRye Config to 3.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
radcortez authored and gsmet committed Apr 2, 2023
1 parent 2aad47c commit c5bb5a7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion bom/application/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
<microprofile-lra.version>2.0</microprofile-lra.version>
<microprofile-openapi.version>3.1</microprofile-openapi.version>
<smallrye-common.version>2.1.0</smallrye-common.version>
<smallrye-config.version>3.2.0</smallrye-config.version>
<smallrye-config.version>3.2.1</smallrye-config.version>
<smallrye-health.version>4.0.1</smallrye-health.version>
<smallrye-metrics.version>4.0.0</smallrye-metrics.version>
<smallrye-open-api.version>3.3.2</smallrye-open-api.version>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import static java.util.stream.Collectors.toList;
import static java.util.stream.StreamSupport.stream;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertNotNull;
import static org.junit.jupiter.api.Assertions.assertSame;
import static org.junit.jupiter.api.Assertions.assertTrue;
Expand Down Expand Up @@ -304,8 +303,8 @@ void defaults() {
assertEquals("bar", defaults.bar());
assertEquals("foo", config.getValue("defaults.foo", String.class));

final List<String> propertyNames = stream(config.getPropertyNames().spliterator(), false).collect(toList());
assertFalse(propertyNames.contains("defaults.foo"));
List<String> propertyNames = stream(config.getPropertyNames().spliterator(), false).collect(toList());
assertTrue(propertyNames.contains("defaults.foo"));
}

@ConfigMapping(prefix = "converters")
Expand Down

0 comments on commit c5bb5a7

Please sign in to comment.