Skip to content

Commit

Permalink
fix(test): fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
machikoyasuda committed Feb 7, 2024
1 parent 4f98e63 commit 0c28146
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/pytest/test_admin.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import pytest

from benefits.admin import pre_login_user
from benefits.core.admin import pre_login_user


@pytest.mark.django_db
Expand All @@ -20,7 +20,7 @@ def test_pre_login_user(mocker, model_AdminUser):
mocked_request = mocker.Mock()
mocked_response = mocker.Mock()
mocked_response.json.return_value = response_from_google
mocker.patch("benefits.admin.requests.get", return_value=mocked_response)
mocker.patch("benefits.core.admin.requests.get", return_value=mocked_response)

pre_login_user(model_AdminUser, mocked_request)

Expand Down

0 comments on commit 0c28146

Please sign in to comment.