client/manager_test_helpers.go
Function TestHelperCreateGetUpdateDeleteClient
has 103 lines of code (exceeds 50 allowed). Consider refactoring. Open
Open
func TestHelperCreateGetUpdateDeleteClient(k string, connection *pop.Connection, t1 Storage, t2 Storage) func(t *testing.T) {
return func(t *testing.T) {
ctx := context.Background()
_, err := t1.GetClient(ctx, "1234")
require.Error(t, err)
Function TestHelperCreateGetUpdateDeleteClientNext
has 83 lines of code (exceeds 50 allowed). Consider refactoring. Open
Open
func TestHelperCreateGetUpdateDeleteClientNext(t *testing.T, m Storage, networks []uuid.UUID) {
ctx := context.Background()
resources := map[uuid.UUID][]Client{}
for k := range networks {