diff --git a/.golangci.yml b/.golangci.yml index 1eb1666..e046eb8 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -17,6 +17,7 @@ linters: - tagalign # не всегда имеет смысл - varnamelen # очень индивидуально (db) - wsl # расставление пробелов очень индивидуально + - wsl_v5 # расставление пробелов очень индивидуально settings: cyclop: max-complexity: 15 # по умолчанию 10 мало diff --git a/tests/access_list_test.go b/tests/access_list_test.go index 71422b8..25d388b 100644 --- a/tests/access_list_test.go +++ b/tests/access_list_test.go @@ -26,6 +26,7 @@ func TestAccessListSuite(t *testing.T) { type AccessListSuite struct { suite.Suite + test *test.Test testDb *dbt.TestDb api *client.Client diff --git a/tests/app_group_test.go b/tests/app_group_test.go index bc4eab0..fa6ea07 100644 --- a/tests/app_group_test.go +++ b/tests/app_group_test.go @@ -26,6 +26,7 @@ func TestApplicationGroupSuite(t *testing.T) { type AppGroupSuite struct { suite.Suite + test *test.Test testDb *dbt.TestDb domainRepo repository.Domain diff --git a/tests/application_test.go b/tests/application_test.go index 39209f0..9d83588 100644 --- a/tests/application_test.go +++ b/tests/application_test.go @@ -26,6 +26,7 @@ func TestApplicationSuite(t *testing.T) { type ApplicationSuite struct { suite.Suite + test *test.Test testDb *dbt.TestDb domainRepo repository.Domain diff --git a/tests/baseline_test.go b/tests/baseline_test.go index 739ae4c..33e9f40 100644 --- a/tests/baseline_test.go +++ b/tests/baseline_test.go @@ -22,6 +22,7 @@ func TestBaselineSuite(t *testing.T) { type BaselineSuite struct { suite.Suite + test *test.Test testDb *dbt.TestDb baseline baseline.Service diff --git a/tests/secure_test.go b/tests/secure_test.go index bd0d8fb..ed3eefb 100644 --- a/tests/secure_test.go +++ b/tests/secure_test.go @@ -26,6 +26,7 @@ func TestSecureSuite(t *testing.T) { type SecureSuite struct { suite.Suite + test *test.Test testDb *dbt.TestDb api *client.Client