Skip to content

Commit

Permalink
fix: undo admin fixture
Browse files Browse the repository at this point in the history
  • Loading branch information
machikoyasuda committed Feb 7, 2024
1 parent 49c78a3 commit 147cd51
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions tests/pytest/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,10 @@
from django.middleware.locale import LocaleMiddleware

import pytest

from pytest_socket import disable_socket

from benefits.core import session
from benefits.core.models import AuthProvider, EligibilityType, EligibilityVerifier, PaymentProcessor, PemData, TransitAgency
from django.contrib.auth.models import User


def pytest_runtest_setup():
Expand All @@ -34,21 +32,6 @@ def app_request(rf):
return app_request


@pytest.fixture
def model_AdminUser():
user = User.objects.create(
email="[email protected]",
first_name="",
last_name="",
username="",
is_active=True,
is_staff=True,
is_superuser=True,
)

return user


@pytest.fixture
def model_PemData():
data = PemData.objects.create(
Expand Down

0 comments on commit 147cd51

Please sign in to comment.