Skip to content

Commit

Permalink
[DE-736] Fix test after adding kind to Invoice line item
Browse files Browse the repository at this point in the history
  • Loading branch information
maciej-nedza committed Feb 22, 2024
1 parent 9a20fa9 commit 09a057d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,7 @@ void shouldCreateInvoice() throws IOException, ApiException {
.discountAmount("12.5")
.taxAmount("0.0")
.totalAmount("0.0")
.kind("delay_capture")
.tieredUnitPrice(false)
.periodRangeStart(LocalDate.now())
.periodRangeEnd(LocalDate.now())
Expand All @@ -226,6 +227,7 @@ void shouldCreateInvoice() throws IOException, ApiException {
.discountAmount("8.5")
.taxAmount("0.0")
.totalAmount("14.0")
.kind("delay_capture")
.tieredUnitPrice(false)
.periodRangeStart(LocalDate.now())
.periodRangeEnd(LocalDate.now())
Expand All @@ -245,6 +247,7 @@ void shouldCreateInvoice() throws IOException, ApiException {
.discountAmount("0.0")
.taxAmount("0.0")
.totalAmount("115.0")
.kind("delay_capture")
.tieredUnitPrice(false)
.periodRangeStart(LocalDate.now())
.periodRangeEnd(LocalDate.now())
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,7 @@ void shouldIssuePendingInvoice() throws IOException, ApiException {
.discountAmount("0.0")
.taxAmount("0.0")
.totalAmount("5.4")
.kind("quantity_based_component")
.tieredUnitPrice(false)
.periodRangeStart(LocalDate.now())
.periodRangeEnd(LocalDate.now().plusMonths(1))
Expand Down

0 comments on commit 09a057d

Please sign in to comment.