test(16.2-07): TestJournalSVGEmbed expects the mlblogeditor post content

16.2-03 moved post content to type: mlblogeditor with htmlColumn:
content_html (D-08); the Phase 15 mlmarkdown assertion was stale and kept
the postgres gate red (G-16.2-1).
This commit is contained in:
2026-10-10 18:35:36 +02:00
parent 2a3afb5107
commit 09e56437fd

View File

@@ -119,8 +119,8 @@ func TestJournalSVGEmbed(t *testing.T) {
if err != nil {
t.Fatal(err)
}
if !strings.Contains(string(fields), "type: mlmarkdown") {
t.Fatal("post fields.yaml content is not mlmarkdown")
if !strings.Contains(string(fields), "type: mlblogeditor") || !strings.Contains(string(fields), "htmlColumn: content_html") {
t.Fatal("post fields.yaml content is not mlblogeditor with htmlColumn: content_html")
}
}