test: update undefined function test

This commit is contained in:
Michael Yang 2024-07-22 09:28:11 -07:00
parent aac17d5f15
commit 5bcad12cd4

View File

@ -518,8 +518,8 @@ func TestCreateTemplateSystem(t *testing.T) {
Stream: &stream,
})
if w.Code != http.StatusBadRequest {
t.Fatalf("expected status code 400, actual %d", w.Code)
if w.Code != http.StatusOK {
t.Fatalf("expected status code 200, actual %d", w.Code)
}
})
}