Skip to content

Commit 431611f

Browse files
committed
Revert "Requires investigation: disable failing tests in hibernate-reactive-rest-data-panache : OpenApiIntegrationTest"
This reverts commit f6584a1. Part of the fix for issue #31974
1 parent 2d3e089 commit 431611f

File tree

1 file changed

+4
-8
lines changed
  • extensions/panache/hibernate-reactive-rest-data-panache/deployment/src/test/java/io/quarkus/hibernate/reactive/rest/data/panache/deployment/openapi

1 file changed

+4
-8
lines changed

extensions/panache/hibernate-reactive-rest-data-panache/deployment/src/test/java/io/quarkus/hibernate/reactive/rest/data/panache/deployment/openapi/OpenApiIntegrationTest.java

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -63,24 +63,20 @@ public void testOpenApiForGeneratedResources() {
6363
is(COLLECTIONS_SCHEMA_REF))
6464
.body("paths.'/collections'.post.responses.'201'.content.'application/json'.schema.$ref",
6565
is(COLLECTIONS_SCHEMA_REF))
66-
// Disabled as it's currently failing - needs investigation
67-
// .body("paths.'/collections'.post.security[0].SecurityScheme", Matchers.hasItem("user"))
66+
.body("paths.'/collections'.post.security[0].SecurityScheme", Matchers.hasItem("user"))
6867
.body("paths.'/collections/{id}'", Matchers.hasKey("get"))
6968
.body("paths.'/collections/{id}'.get.responses.'200'.content.'application/json'.schema.$ref",
7069
is(COLLECTIONS_SCHEMA_REF))
71-
// Disabled as it's currently failing - needs investigation
72-
// .body("paths.'/collections/{id}'.get.security[0].SecurityScheme", Matchers.hasItem("user"))
70+
.body("paths.'/collections/{id}'.get.security[0].SecurityScheme", Matchers.hasItem("user"))
7371
.body("paths.'/collections/{id}'", Matchers.hasKey("put"))
7472
.body("paths.'/collections/{id}'.put.requestBody.content.'application/json'.schema.$ref",
7573
is(COLLECTIONS_SCHEMA_REF))
7674
.body("paths.'/collections/{id}'.put.responses.'201'.content.'application/json'.schema.$ref",
7775
is(COLLECTIONS_SCHEMA_REF))
78-
// Disabled as it's currently failing - needs investigation
79-
// .body("paths.'/collections/{id}'.put.security[0].SecurityScheme", Matchers.hasItem("user"))
76+
.body("paths.'/collections/{id}'.put.security[0].SecurityScheme", Matchers.hasItem("user"))
8077
.body("paths.'/collections/{id}'", Matchers.hasKey("delete"))
8178
.body("paths.'/collections/{id}'.delete.responses", Matchers.hasKey("204"))
82-
// Disabled as it's currently failing - needs investigation
83-
// .body("paths.'/collections/{id}'.delete.security[0].SecurityScheme", Matchers.hasItem("admin"))
79+
.body("paths.'/collections/{id}'.delete.security[0].SecurityScheme", Matchers.hasItem("admin"))
8480
.body("paths.'/empty-list-items'", Matchers.hasKey("get"))
8581
.body("paths.'/empty-list-items'.get.tags", Matchers.hasItem("EmptyListItemsResource"))
8682
.body("paths.'/empty-list-items'", Matchers.hasKey("post"))

0 commit comments

Comments
 (0)