Skip to content

Commit e091491

Browse files
committed
fix failing test
Signed-off-by: tvallin <[email protected]>
1 parent aab69ec commit e091491

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

webserver/tests/observe/security/src/test/java/io/helidon/webserver/tests/observe/metrics/ObserveSecurityTest.java

+1-2
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ class ObserveSecurityTest {
7070
static void setup(WebServerConfig.Builder server) {
7171
server.routing(routing -> routing
7272
.addFeature(ObserveFeature.create())
73-
.addFeature(OpenApiFeature.builder().build())
73+
.addFeature(OpenApiFeature.create())
7474
.addFeature(ContextFeature.create())
7575
.addFeature(buildWebSecurity().securityDefaults(SecurityFeature.authenticate()))
7676
.get("/observe/metrics", SecurityFeature.rolesAllowed("user"))
@@ -96,7 +96,6 @@ void testSecureEndpoint(String uri) {
9696
.uri(uri)
9797
.property(EndpointConfig.PROPERTY_OUTBOUND_ID, "jack")
9898
.property(EndpointConfig.PROPERTY_OUTBOUND_SECRET, "password")
99-
.accept(MediaTypes.TEXT_PLAIN)
10099
.request()) {
101100
assertThat(response.status(), is(Status.OK_200));
102101
}

0 commit comments

Comments
 (0)