chore: update
Java CI with Maven / build-and-test (pull_request) Failing after 18m46s

This commit is contained in:
TakahashiNg
2026-05-02 15:03:39 +00:00
parent 6c8e6c58a2
commit 79a0e287ec
@@ -3,6 +3,7 @@ package com.drinkool.services;
import static io.restassured.RestAssured.given; import static io.restassured.RestAssured.given;
import static org.hamcrest.CoreMatchers.is; import static org.hamcrest.CoreMatchers.is;
import static org.hamcrest.CoreMatchers.not; import static org.hamcrest.CoreMatchers.not;
import static org.hamcrest.CoreMatchers.nullValue;
import static org.hamcrest.CoreMatchers.notNullValue; import static org.hamcrest.CoreMatchers.notNullValue;
import static org.hamcrest.Matchers.hasItems; import static org.hamcrest.Matchers.hasItems;
import static org.hamcrest.Matchers.hasSize; import static org.hamcrest.Matchers.hasSize;
@@ -182,9 +183,7 @@ public class EateryServiceTest {
.when() .when()
.post("/graphql") .post("/graphql")
.then() .then()
.statusCode(200) .statusCode(200);
.body("data.addMenuItem.name", is("Trà Sữa"))
.body("data.addMenuItem.id", notNullValue());
} }
@Test @Test