Fixed errcheck issues in server/channels/api4/license_test.go (#28557)

This commit is contained in:
Arya Khochare 2024-10-07 16:11:13 +05:30 committed by GitHub
parent 13959b024f
commit 344e76287f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -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|\

View file

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