From 166692ebbf33bee27115fdb394934f669d3d4aca Mon Sep 17 00:00:00 2001 From: marlena-b Date: Wed, 31 Jul 2024 14:08:11 +0200 Subject: [PATCH] Fix test --- 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 edd1fffd..1221a614 100644 --- a/rails_application/test/integration/client_orders_test.rb +++ b/rails_application/test/integration/client_orders_test.rb @@ -126,6 +126,7 @@ def test_adding_product_which_is_not_available_anymore order_1_id = SecureRandom.uuid session_1.post "/client_orders/#{order_1_id}/add_item?product_id=#{product_id}" + order_and_pay(customer_1_id, order_1_id, product_id) order_2_id = SecureRandom.uuid session_2.post "/client_orders/#{order_2_id}/add_item?product_id=#{product_id}"