Skip to content

Commit

Permalink
fix(test): use fixture that matches intent of the test
Browse files Browse the repository at this point in the history
  • Loading branch information
angela-tran committed May 30, 2024
1 parent fcecd67 commit 5e1782a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/pytest/eligibility/test_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,9 +230,7 @@ def test_confirm_get_unverified(mocker, client):


@pytest.mark.django_db
@pytest.mark.usefixtures(
"mocked_session_agency", "mocked_session_eligibility", "mocked_session_verifier_does_not_use_auth_verification"
)
@pytest.mark.usefixtures("mocked_session_agency", "mocked_session_eligibility", "mocked_session_verifier")
def test_confirm_get_verified(client, mocked_session_update):
path = reverse(ROUTE_CONFIRM)
response = client.get(path)
Expand Down

0 comments on commit 5e1782a

Please sign in to comment.