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

This commit is contained in:
Arya Khochare
2024-10-07 12:41:13 +02:00
committed by GitHub
parent 13959b024f
commit 344e76287f
2 changed files with 2 additions and 2 deletions
-1
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|\
+2 -1
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)