mirror of
https://github.com/mattermost/mattermost.git
synced 2026-09-24 16:05:00 +08:00
Fixed errcheck issues in server/channels/api4/license_test.go (#28557)
This commit is contained in:
@@ -88,7 +88,6 @@ issues:
|
||||
channels/api4/job_test.go|\
|
||||
channels/api4/license.go|\
|
||||
channels/api4/license_local.go|\
|
||||
channels/api4/license_test.go|\
|
||||
channels/api4/oauth_test.go|\
|
||||
channels/api4/outgoing_oauth_connection_test.go|\
|
||||
channels/api4/plugin.go|\
|
||||
|
||||
@@ -31,7 +31,8 @@ func TestGetOldClientLicense(t *testing.T) {
|
||||
|
||||
require.NotEqual(t, license["IsLicensed"], "", "license not returned correctly")
|
||||
|
||||
client.Logout(context.Background())
|
||||
_, err = client.Logout(context.Background())
|
||||
require.NoError(t, err)
|
||||
|
||||
_, _, err = client.GetOldClientLicense(context.Background(), "")
|
||||
require.NoError(t, err)
|
||||
|
||||
Reference in New Issue
Block a user