From f78144c0d44f2e0b9263114031b9daca89c58a25 Mon Sep 17 00:00:00 2001 From: Andrzej Krzywda Date: Sat, 17 Aug 2024 00:55:34 +0200 Subject: [PATCH] added assertion to test new minitest complains about lack of assertion --- rails_application/test/integration/client_orders_test.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/rails_application/test/integration/client_orders_test.rb b/rails_application/test/integration/client_orders_test.rb index d2ea08c1..ff2d50b1 100644 --- a/rails_application/test/integration/client_orders_test.rb +++ b/rails_application/test/integration/client_orders_test.rb @@ -107,6 +107,7 @@ def test_adding_the_same_product_twice_bug order_id = SecureRandom.uuid as_client_add_item_to_basket_for_order(product_id, order_id) as_client_add_item_to_basket_for_order(product_id, order_id) + assert_equal(204, response.status) end def test_adding_product_which_is_not_available_anymore