mirror of
https://gitlab.com/MoonTestUse1/AdministrationItDepartmens.git
synced 2025-08-14 00:25:46 +02:00
Fix tests
This commit is contained in:
@@ -16,7 +16,7 @@ from app.database import Base, get_db
|
|||||||
from app.models.employee import Employee
|
from app.models.employee import Employee
|
||||||
from app.utils.auth import get_password_hash
|
from app.utils.auth import get_password_hash
|
||||||
|
|
||||||
# Создаем тестовую базу данных в памяти
|
# Создаем тестовую базу данных в памяти222
|
||||||
SQLALCHEMY_DATABASE_URL = "sqlite:///:memory:"
|
SQLALCHEMY_DATABASE_URL = "sqlite:///:memory:"
|
||||||
engine = create_engine(
|
engine = create_engine(
|
||||||
SQLALCHEMY_DATABASE_URL,
|
SQLALCHEMY_DATABASE_URL,
|
||||||
|
Reference in New Issue
Block a user