1
0
mirror of https://gitlab.com/MoonTestUse1/AdministrationItDepartmens.git synced 2025-08-14 00:25:46 +02:00

Fix tests

This commit is contained in:
MoonTestUse1
2025-01-06 23:46:42 +06:00
parent dc2b06bc86
commit d9e276ad6b

View File

@@ -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,