Skip to content

Commit

Permalink
fix(test): update funding_source fixture to use renamed fields
Browse files Browse the repository at this point in the history
  • Loading branch information
lalver1 committed Apr 18, 2024
1 parent 87e0122 commit 406554a
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions tests/pytest/enrollment/test_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,21 +63,19 @@ def mocked_funding_source():
def mocked_group_funding_source_no_expiry(mocked_funding_source):
return GroupFundingSourceResponse(
id=mocked_funding_source.id,
participant_id=mocked_funding_source.participant_id,
concession_expiry=None,
concession_created_at=None,
concession_updated_at=None,
created_date=None,
updated_date=None,
expiry_date=None,
)


@pytest.fixture
def mocked_group_funding_source_with_expiry(mocked_funding_source):
return GroupFundingSourceResponse(
id=mocked_funding_source.id,
participant_id=mocked_funding_source.participant_id,
concession_expiry="2023-01-01T00:00:00Z",
concession_created_at="2021-01-01T00:00:00Z",
concession_updated_at="2021-01-01T00:00:00Z",
created_date="2023-01-01T00:00:00Z",
updated_date="2021-01-01T00:00:00Z",
expiry_date="2021-01-01T00:00:00Z",
)


Expand Down

0 comments on commit 406554a

Please sign in to comment.