Integration action test (#28561)
Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com>
Этот коммит содержится в:
@@ -77,7 +77,6 @@ issues:
|
||||
channels/api4/export_test.go|\
|
||||
channels/api4/file_test.go|\
|
||||
channels/api4/import_test.go|\
|
||||
channels/api4/integration_action_test.go|\
|
||||
channels/api4/ip_filtering_test.go|\
|
||||
channels/api4/job_test.go|\
|
||||
channels/api4/license.go|\
|
||||
|
||||
@@ -41,7 +41,8 @@ func (th *testHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
|
||||
assert.NotEmpty(th.t, poir.TriggerId)
|
||||
assert.Equal(th.t, "button", poir.Type)
|
||||
assert.Equal(th.t, "test-value", poir.Context["test-key"])
|
||||
w.Write([]byte("{}"))
|
||||
_, err = w.Write([]byte("{}"))
|
||||
require.NoError(th.t, err)
|
||||
w.WriteHeader(200)
|
||||
}
|
||||
|
||||
|
||||
Ссылка в новой задаче
Block a user