update lint fixes

This commit is contained in:
Pavel 2023-01-09 16:12:23 +03:00
parent 0f7c6c6669
commit 278dca5d35
2 changed files with 3 additions and 4 deletions

View File

@ -13,8 +13,7 @@ import (
"gopkg.in/h2non/gock.v1" "gopkg.in/h2non/gock.v1"
) )
func TestDefaultNotifyFunc(t *testing.T) { func TestDefaultNotifyFunc(t *testing.T) { // nolint:paralleltest
t.Parallel()
apiURL := "https://test.retailcrm.pro" apiURL := "https://test.retailcrm.pro"
apiKey := "key" apiKey := "key"
msg := "Notification" msg := "Notification"
@ -37,8 +36,7 @@ func TestDefaultNotifyFunc(t *testing.T) {
testutil.AssertNoUnmatchedRequests(t) testutil.AssertNoUnmatchedRequests(t)
} }
func TestDefaultNotifyFunc_Error(t *testing.T) { func TestDefaultNotifyFunc_Error(t *testing.T) { // nolint:paralleltest
t.Parallel()
apiURL := "https://test.retailcrm.pro" apiURL := "https://test.retailcrm.pro"
apiKey := "key" apiKey := "key"
msg := "Notification" msg := "Notification"

View File

@ -13,6 +13,7 @@ type SyncMapStorageTest struct {
} }
func TestSyncMapStorage(t *testing.T) { func TestSyncMapStorage(t *testing.T) {
t.Parallel()
suite.Run(t, new(SyncMapStorageTest)) suite.Run(t, new(SyncMapStorageTest))
} }