mirror of
https://github.com/retailcrm/mg-transport-core.git
synced 2024-11-22 05:06:04 +03:00
update lint fixes
This commit is contained in:
parent
0f7c6c6669
commit
278dca5d35
@ -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"
|
||||||
|
@ -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))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user