test: update undefined function test
This commit is contained in:
parent
aac17d5f15
commit
5bcad12cd4
@ -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)
|
||||
}
|
||||
})
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user