Skip to content

Commit

Permalink
chore: receipt_pdf_helpdesk.feature
Browse files Browse the repository at this point in the history
  • Loading branch information
alessio-cialini committed Jan 12, 2024
1 parent cfcfe61 commit 731c899
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion integration-test/src/features/receipt_pdf_helpdesk.feature
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,11 @@ Feature: All about payment events to recover managed by Azure functions receipt-
When getReceiptMessage API is called with messageId "receipt-helpdesk-int-test-message-id-3"
Then the api response has a 200 Http status
And the receipt-message has messageId "receipt-helpdesk-int-test-message-id-3"
And the receipt-message has eventId "receipt-helpdesk-int-test-id-3"
And the receipt-message has eventId "receipt-helpdesk-int-test-id-3"

Scenario: receiptToReviewed API retrieve a receipt error and updates its status to REVIEWED
Given a receipt-error with bizEventId "receipt-helpdesk-int-test-id-5" and status "TO_REVIEW" stored into receipt-error datastore
When receiptToReviewed API is called with bizEventId "receipt-helpdesk-int-test-id-5"
Then the api response has a 200 Http status
And the receipt-error with bizEventId "receipt-helpdesk-int-test-id-5" is recovered from datastore
And the receipt-error has not status "TO_REVIEW"

0 comments on commit 731c899

Please sign in to comment.