Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com>
Этот коммит содержится в:
Johnson
2024-10-08 16:41:01 +01:00
коммит произвёл GitHub
родитель 3466e6f5d8
Коммит 33af22b2d3
2 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@@ -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)
}