Fixed errcheck issues in server/channels/api4/license_test.go (#28557)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
13959b024f
Коммит
344e76287f
@@ -88,7 +88,6 @@ issues:
|
|||||||
channels/api4/job_test.go|\
|
channels/api4/job_test.go|\
|
||||||
channels/api4/license.go|\
|
channels/api4/license.go|\
|
||||||
channels/api4/license_local.go|\
|
channels/api4/license_local.go|\
|
||||||
channels/api4/license_test.go|\
|
|
||||||
channels/api4/oauth_test.go|\
|
channels/api4/oauth_test.go|\
|
||||||
channels/api4/outgoing_oauth_connection_test.go|\
|
channels/api4/outgoing_oauth_connection_test.go|\
|
||||||
channels/api4/plugin.go|\
|
channels/api4/plugin.go|\
|
||||||
|
|||||||
@@ -31,7 +31,8 @@ func TestGetOldClientLicense(t *testing.T) {
|
|||||||
|
|
||||||
require.NotEqual(t, license["IsLicensed"], "", "license not returned correctly")
|
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(), "")
|
_, _, err = client.GetOldClientLicense(context.Background(), "")
|
||||||
require.NoError(t, err)
|
require.NoError(t, err)
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user