fix(editor): remove SEO panel duplication and auto-default draft metadata #54

Merged
mark merged 2 commits from fix/article-editor-defaults into main 2026-03-04 22:47:21 +00:00
Showing only changes of commit 2c2cb5446f - Show all commits

View File

@@ -25,6 +25,8 @@ def test_check_content_integrity_fails_for_blank_summary(home_page):
)
index.add_child(instance=article)
article.save_revision().publish()
# Simulate legacy/bad data by bypassing model save() auto-summary fallback.
ArticlePage.objects.filter(pk=article.pk).update(summary=" ")
with pytest.raises(CommandError, match="empty summary"):
call_command("check_content_integrity")