Skip to content

Commit

Permalink
pr review
Browse files Browse the repository at this point in the history
  • Loading branch information
zeitlinger committed Oct 15, 2024
1 parent ca30950 commit 4f40c0e
Showing 1 changed file with 6 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -106,15 +106,13 @@ void enabledProviders() {
.run(
context ->
assertThat(context)
.getBean("otelProperties")
.getBean("otelProperties", ConfigProperties.class)
.satisfies(
p -> {
ConfigProperties configProperties = (ConfigProperties) p;

assertThat(
configProperties.getList("otel.java.enabled.resource.providers"))
.containsExactly("e1", "e2");
}));
configProperties ->
assertThat(
configProperties.getList(
"otel.java.enabled.resource.providers"))
.containsExactly("e1", "e2")));
}

@Test
Expand Down

0 comments on commit 4f40c0e

Please sign in to comment.