From e73f4f17f3d63ce93a5a522a18ab437943c4cb81 Mon Sep 17 00:00:00 2001 From: svariant Date: Fri, 1 Dec 2023 09:28:46 +0100 Subject: [PATCH] [fix] Fixed integration tests --- integration-test/src/features/receipt_pdf_datastore.feature | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/integration-test/src/features/receipt_pdf_datastore.feature b/integration-test/src/features/receipt_pdf_datastore.feature index f6a1fd66..f8267da9 100644 --- a/integration-test/src/features/receipt_pdf_datastore.feature +++ b/integration-test/src/features/receipt_pdf_datastore.feature @@ -21,7 +21,8 @@ Feature: All about payment events consumed by Azure functions receipt-pdf-genera And the blob storage has the PDF document Scenario: a biz event enqueued on receipts poison queue is stored on receipt-message-error datastore and the receipt status is updated to TO_REVIEW - Given a random biz event with id "receipt-generator-int-test-id-3" enqueued on receipts poison queue with poison retry "true" + Given a receipt with id "receipt-generator-int-test-id-3" stored into receipt datastore + And a random biz event with id "receipt-generator-int-test-id-3" enqueued on receipts poison queue with poison retry "true" When the biz event has been properly stored on receipt-message-error datastore after 20000 ms Then the receipt-message-error datastore returns the error receipt And the error receipt has the status "TO_REVIEW"