mirror of
https://github.com/grillazz/fastapi-sqlalchemy-asyncpg.git
synced 2025-11-30 13:20:40 +03:00
refactor
This commit is contained in:
@@ -39,5 +39,5 @@ async def client(start_db) -> AsyncClient:
|
||||
headers={"Content-Type": "application/json"},
|
||||
transport=transport,
|
||||
) as test_client:
|
||||
app.state.redis = await get_redis()
|
||||
app.redis = await get_redis()
|
||||
yield test_client
|
||||
|
||||
Reference in New Issue
Block a user