chore: main 병합 — 로그인 없이 댓글·좋아요, 구글 로그인만, 동네 이야기·카드뉴스 등 (차단 표 user_block 하나로 합침, 익명 댓글도 신고 가능)

This commit is contained in:
minaChoi committed 2026-10-26 10:00:40 +09:00
commit dba34675c8
408 files changed
+36377 -725

No files matched your search

+3 -2
View File
@@ -54,11 +54,12 @@ async def test_signup_rejects_bad_input():
@pytest.mark.anyio
async def test_reactions_require_login_and_update_feed(offline):
async def test_comment_without_login_is_anonymous_and_reactions_update_feed(offline):
async with client() as c:
feed = (await c.get("/v1/feed", params={"region": REGION})).json()
post_id = feed["posts"][0]["post_id"]
assert (await c.post(f"/v1/reaction/post/{post_id}/like")).status_code == 401
anon = (await c.post(f"/v1/reaction/post/{feed['posts'][1]['post_id']}/comment", json={"body": "안녕"})).json()
assert anon["result"]["success"] is True and anon["comment"]["nickname"] == "익명"
token = (await _signup(c))["access_token"]
h = {"Authorization": f"Bearer {token}"}