Skip to content

Conversation

arthur-mesquita
Copy link
Collaborator

Fix both post and get news endpoints

- create authentication fixture
- update tests
- update tests
- test integration with get
@arthur-mesquita arthur-mesquita linked an issue Sep 9, 2025 that may be closed by this pull request
@IkeSalmonson
Copy link
Collaborator

IkeSalmonson commented Sep 9, 2025

Existem alguns imports relacionados ao PR com erro:
File "/server/app/routers/news/routes.py", line 6, in
from routers.authentication import get_current_active_community
File "/server/app/routers/news/routes.py", line 6, in
from services.database.orm.news import create_news, get_news_by_query_params
File "/server/app/services/database/orm/news.py", line 3, in
from services.database.models import News

Também existe uma importação não relacionada a PR:
"/server/app/services/database/models/subscriptions.py", line 3, in
from schemas import SubscriptionTagEnum

@dan5e3s6ares dan5e3s6ares merged commit efd8b20 into main Sep 9, 2025
@dan5e3s6ares dan5e3s6ares deleted the feature/22-2 branch September 9, 2025 23:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Criar endpoint GET news
4 participants