Fix errcheck error in plugin_test.go by properly handling error from th.App.ch.RemovePlugin (#30608)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
19bea2c8d7
Коммит
748f8227e3
@@ -103,7 +103,6 @@ issues:
|
||||
channels/app/platform/session.go|\
|
||||
channels/app/platform/status.go|\
|
||||
channels/app/platform/web_hub_test.go|\
|
||||
channels/app/plugin_test.go|\
|
||||
channels/app/post_helpers_test.go|\
|
||||
channels/app/post_test.go|\
|
||||
channels/app/slack.go|\
|
||||
|
||||
@@ -1355,7 +1355,8 @@ func TestProcessPrepackagedPlugins(t *testing.T) {
|
||||
require.Len(t, transitionalPlugins, 1)
|
||||
expectPrepackagedPlugin(t, "testplugin", "0.0.1", transitionalPlugins[0])
|
||||
|
||||
th.App.ch.RemovePlugin("testplugin")
|
||||
appErr := th.App.ch.RemovePlugin("testplugin")
|
||||
require.Nil(t, appErr)
|
||||
|
||||
pluginStatus, err := env.Statuses()
|
||||
require.NoError(t, err)
|
||||
|
||||
Ссылка в новой задаче
Block a user