fix(admin): apply Journal form follow-ups
This commit is contained in:
@@ -22,6 +22,12 @@ func TestPostsFormCompiles(t *testing.T) {
|
||||
if !strings.Contains(body, "mltext") {
|
||||
t.Fatalf("form schema missing mltext: %s", body)
|
||||
}
|
||||
if !strings.Contains(body, "mltextarea") {
|
||||
t.Fatalf("form schema missing mltextarea: %s", body)
|
||||
}
|
||||
if !strings.Contains(body, `"preset":{"field":"title","type":"slug"}`) {
|
||||
t.Fatalf("form schema missing slug preset: %s", body)
|
||||
}
|
||||
}
|
||||
|
||||
func TestPostsAdminCreateSmoke(t *testing.T) {
|
||||
|
||||
Reference in New Issue
Block a user