Changeset 0.6.0 (#36)
This commit is contained in:
@@ -89,8 +89,8 @@ func TestCompletionHandlerMissingFields(t *testing.T) {
|
||||
name string
|
||||
body string
|
||||
}{
|
||||
{"missing chat_id", `{"content":"hello"}`},
|
||||
{"missing content", `{"chat_id":"abc"}`},
|
||||
{"missing channel_id", `{"content":"hello"}`},
|
||||
{"missing content", `{"channel_id":"abc"}`},
|
||||
{"empty body", `{}`},
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user