From 049861828d6fa0464ec32f9ca7373ac0f6565570 Mon Sep 17 00:00:00 2001 From: bruno Date: Wed, 22 Jul 2026 16:52:53 -0400 Subject: [PATCH] fix(test): update test for empty default title --- tests/test_app.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_app.py b/tests/test_app.py index 402a469..7b0e4aa 100644 --- a/tests/test_app.py +++ b/tests/test_app.py @@ -1942,11 +1942,11 @@ def test_login_page_shows_expired_banner(client): def test_create_page_defaults_to_untitled(client): - """Creating a page with empty title defaults to 'Untitled'.""" + """Creating a page with empty title defaults to empty string (CSS placeholder shows 'New page').""" resp = client.post("/board/api/pages?title=§ion=Private", follow_redirects=False) assert resp.status_code == 200 data = resp.json() - assert data["title"] == "Untitled" + assert data["title"] == "" def test_styled_404_page(client):