mirror of
https://github.com/mattermost/mattermost.git
synced 2026-05-28 04:35:04 -04:00
[MM-61460] Fix errcheck issues in server/channels/app/plugin_signature_test.go (#29348)
Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com>
This commit is contained in:
parent
4ec4b4d525
commit
ff1ffc51dc
2 changed files with 2 additions and 2 deletions
|
|
@ -107,7 +107,6 @@ issues:
|
|||
channels/app/platform/web_conn.go|\
|
||||
channels/app/platform/web_hub.go|\
|
||||
channels/app/platform/web_hub_test.go|\
|
||||
channels/app/plugin_signature_test.go|\
|
||||
channels/app/plugin_test.go|\
|
||||
channels/app/post_helpers_test.go|\
|
||||
channels/app/post_test.go|\
|
||||
|
|
|
|||
|
|
@ -42,7 +42,8 @@ func TestPluginPublicKeys(t *testing.T) {
|
|||
fileReader, err := os.Open(filepath.Join(path, publicKeyFilename))
|
||||
require.NoError(t, err)
|
||||
defer fileReader.Close()
|
||||
th.App.AddPublicKey(publicKeyFilename, fileReader)
|
||||
appErr := th.App.AddPublicKey(publicKeyFilename, fileReader)
|
||||
require.Nil(t, appErr)
|
||||
file, appErr := th.App.GetPublicKey(publicKeyFilename)
|
||||
require.Nil(t, appErr)
|
||||
require.Equal(t, publicKey, file)
|
||||
|
|
|
|||
Loading…
Reference in a new issue