fix test news db

This commit is contained in:
2025-12-06 00:20:09 +05:00
parent 51135f6506
commit 14f7929e0f

View File

@ -1,7 +1,7 @@
from datetime import datetime from datetime import datetime
from typing import List, Optional from typing import List, Optional
from fastapi import HTTPException from fastapi import HTTPException
from app import db from app.db.database import db
from bson import ObjectId from bson import ObjectId
from app.models.news import NewsCreate, NewsUpdate, NewsInDB from app.models.news import NewsCreate, NewsUpdate, NewsInDB