Skip to content

Commit

Permalink
Merge branch 'main' into PAGOPA-2359-exclude-WISP
Browse files Browse the repository at this point in the history
  • Loading branch information
cap-ang authored Jan 22, 2025
2 parents b7b634e + d4a84bb commit 4d8d7b0
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions integration-test/src/features/payment_notices.feature
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
Feature: Recover Payment Notices

Background:
Given the payment notice "DEBT1" for the taxCode "CF10000000000000" with due date "2024/03/15" and pull recovery on true
And the payment notice "DEBT2" for the taxCode "CF10000000000000" with due date "2024/03/15" and pull recovery on false
And the payment notice "DEBT3" for the taxCode "CF10000000000000" with due date "2024/01/01" and pull recovery on true
Given the payment notice "DEBT1" for the taxCode "CF10000000000000" with due date "2034/03/15" and pull recovery on true
And the payment notice "DEBT2" for the taxCode "CF10000000000000" with due date "2034/03/15" and pull recovery on false
And the payment notice "DEBT3" for the taxCode "CF10000000000000" with due date "2034/01/01" and pull recovery on true

Scenario: Retrieve Payment Notices filtered by existing CF
When an Http GET request is sent to recover notices for taxCode "CF10000000000000" with dueDate "2024/03/15"
When an Http GET request is sent to recover notices for taxCode "CF10000000000000" with dueDate "2034/03/15"
Then response has a 200 Http status
And response has size 1
And response contains notice "DEBT1"

Scenario: Retrieve Payment Notices filtered by NOT existing CF
When an Http GET request is sent to recover notices for taxCode "CF20000000000000" with dueDate "2024/03/15"
When an Http GET request is sent to recover notices for taxCode "CF20000000000000" with dueDate "2034/03/15"
Then response has a 200 Http status
And response has size 0

Scenario: Retrieve all Payment Notices filtered by dueDate
When an Http GET request is sent to recover notices for taxCode "CF10000000000000" with dueDate "2024/01/01"
When an Http GET request is sent to recover notices for taxCode "CF10000000000000" with dueDate "2034/01/01"
Then response has a 200 Http status
And response has size 2
And response contains notice "DEBT1"
Expand Down

0 comments on commit 4d8d7b0

Please sign in to comment.