Skip to content

Commit

Permalink
rerecord refund and transfer fixtures
Browse files Browse the repository at this point in the history
  • Loading branch information
FairfullB committed Nov 11, 2024
1 parent 1c9a634 commit 10cfa9a
Show file tree
Hide file tree
Showing 14 changed files with 3 additions and 3 deletions.
Binary file modified test/fixtures/refunds/create.fixture
Binary file not shown.
Binary file modified test/fixtures/refunds/get_all.fixture
Binary file not shown.
Binary file modified test/fixtures/refunds/get_one.fixture
Binary file not shown.
Binary file modified test/fixtures/refunds/get_refunds_for_charge.fixture
Binary file not shown.
Binary file modified test/fixtures/transfers/create.fixture
Binary file not shown.
Binary file modified test/fixtures/transfers/create_with_missing_currency.fixture
Binary file not shown.
Binary file modified test/fixtures/transfers/get_all.fixture
Binary file not shown.
Binary file modified test/fixtures/transfers/get_all_by_page.fixture
Binary file not shown.
Binary file modified test/fixtures/transfers/get_line_items.fixture
Binary file not shown.
Binary file modified test/fixtures/transfers/get_line_items_per_page.fixture
Binary file not shown.
Binary file modified test/fixtures/transfers/get_specific_transfer.fixture
Binary file not shown.
Binary file modified test/fixtures/transfers/search.fixture
Binary file not shown.
4 changes: 2 additions & 2 deletions test/refunds/refund_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ defmodule PINXS.Refunds.RefundTest do
card = %Card{
number: "5520000000000000",
expiry_month: "12",
expiry_year: "20",
expiry_year: "30",
name: "Rubius Hagrid",
address_line1: "The Game Keepers Cottage",
address_city: "Hogwarts",
Expand Down Expand Up @@ -46,7 +46,7 @@ defmodule PINXS.Refunds.RefundTest do
with_proxy("refunds/get_all.fixture") do
{:ok, refunds} = Refund.get_all(client)

assert length(refunds.items) == 25
assert length(refunds.items) == 20
end
end

Expand Down
2 changes: 1 addition & 1 deletion test/transfers/transfer_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ defmodule PINXS.Transfers.TransferTest do
with_proxy("transfers/search.fixture") do
{:ok, retrieved_transfers} = Transfer.search(%{query: "[email protected]"}, client)

assert retrieved_transfers.count == 5
assert retrieved_transfers.count == 17
assert retrieved_transfers.items != []
end
end
Expand Down

0 comments on commit 10cfa9a

Please sign in to comment.