diff --git a/tests/conftest.py b/tests/conftest.py index 5a210f5..1e6ca09 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -23,7 +23,7 @@ class Hero(SQLModel, table=True): # type: ignore @pytest.fixture() def current_date() -> datetime.date: - return datetime.datetime.now(datetime.UTC).date() + return utcnow().date() @pytest.fixture()