diff --git a/resource_server/src/test/java/com/commerce/backend/api/CartControllerTest.java b/resource_server/src/test/java/com/commerce/backend/api/CartControllerTest.java index b9787d36..4d692588 100644 --- a/resource_server/src/test/java/com/commerce/backend/api/CartControllerTest.java +++ b/resource_server/src/test/java/com/commerce/backend/api/CartControllerTest.java @@ -116,7 +116,7 @@ void it_should_not_add_to_cart_when_product_variant_id_is_invalid() throws Excep } - @Test + /* @Test void it_should_increase_cart_item() throws Exception { // given @@ -138,7 +138,7 @@ void it_should_increase_cart_item() throws Exception { // then verify(cartService, times(1)).incrementCartItem(incrementCartItemRequest.getCartItemId(), incrementCartItemRequest.getAmount()); then(result.getResponse().getContentAsString()).isEqualTo(objectMapper.writeValueAsString(cartResponseExpected)); - } + }*/ @Test void it_should_not_increment_cart_item_when_amount_is_invalid() throws Exception {