jstastny-cz commented on code in PR #4273:
URL: 
https://github.com/apache/incubator-kie-kogito-runtimes/pull/4273#discussion_r3373769980


##########
quarkus/integration-tests/integration-tests-quarkus-usertasks/src/test/java/org/jbpm/userTask/jpa/it/UserTaskFilterIT.java:
##########
@@ -466,98 +466,7 @@ public void testFilterByStatusCaseInsensitive() {
                 .get(USER_TASKS_ENDPOINT)
                 .then()
                 .statusCode(200)
-                .body("$.size()", is(1))
-                .body("[0].status.name", is("Reserved"));
-    }
-
-    @Test
-    public void testFilterByStatusUpperCase() {
-        // Given - Start a process instance (creates task in Reserved status)
-        Traveller traveller = new Traveller("John", "Doe", 
"[email protected]", "American",
-                new Address("main street", "Boston", "10005", "US"));
-        startProcessInstance(traveller);
-
-        // When - Query with uppercase status (should match case-insensitively)
-        given().contentType(ContentType.JSON)
-                .queryParam("user", "manager")
-                .queryParam("group", "department-managers")
-                .queryParam("status", "RESERVED")
-                .when()
-                .get(USER_TASKS_ENDPOINT)
-                .then()
-                .statusCode(200)
-                .body("$.size()", is(1))
-                .body("[0].status.name", is("Reserved"));
-    }
-
-    @Test
-    public void testFilterByStatusMixedCase() {
-        // Given - Start a process instance (creates task in Reserved status)
-        Traveller traveller = new Traveller("John", "Doe", 
"[email protected]", "American",
-                new Address("main street", "Boston", "10005", "US"));
-        startProcessInstance(traveller);
-
-        // When - Query with mixed case status (should match 
case-insensitively)
-        given().contentType(ContentType.JSON)
-                .queryParam("user", "manager")
-                .queryParam("group", "department-managers")
-                .queryParam("status", "ReSeRvEd")
-                .when()
-                .get(USER_TASKS_ENDPOINT)
-                .then()
-                .statusCode(200)
-                .body("$.size()", is(1))
-                .body("[0].status.name", is("Reserved"));
+                .body("$.size()", is(0));

Review Comment:
   I think this test case either needs renaming or remove? 
`testFilterByStatusCaseInsensitive` - also based on body contents - now it is 
case sensitive.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to