Adding test for autoredirect create and confirmation #43
Annotations
10 errors and 10 warnings
test:
domain/redirectdefinition/utils/autocreateredirectdefinitions_test.go#L204
204-289 lines are duplicate of `domain/redirectdefinition/utils/autocreateredirectdefinitions_test.go:378-463` (dupl)
|
test:
domain/redirectdefinition/utils/autocreateredirectdefinitions_test.go#L378
378-463 lines are duplicate of `domain/redirectdefinition/utils/autocreateredirectdefinitions_test.go:204-289` (dupl)
|
test:
domain/redirectdefinition/command/createredirect.go#L34
34-51 lines are duplicate of `domain/redirectdefinition/command/createredirectsfromcontentserver.go:69-86` (dupl)
|
test:
domain/redirectdefinition/command/createredirectsfromcontentserver.go#L69
69-86 lines are duplicate of `domain/redirectdefinition/command/deleteredirect.go:34-51` (dupl)
|
test:
domain/redirectdefinition/command/deleteredirect.go#L34
34-51 lines are duplicate of `domain/redirectdefinition/command/updateredirect.go:34-51` (dupl)
|
test:
domain/redirectdefinition/command/updateredirect.go#L34
34-51 lines are duplicate of `domain/redirectdefinition/command/createredirect.go:34-51` (dupl)
|
test:
domain/redirectdefinition/command/createredirect.go#L1
1-51 lines are duplicate of `domain/redirectdefinition/command/updateredirect.go:1-51` (dupl)
|
test:
domain/redirectdefinition/command/updateredirect.go#L1
1-51 lines are duplicate of `domain/redirectdefinition/command/createredirect.go:1-51` (dupl)
|
test:
domain/redirectdefinition/utils/consolidateredirectdefinitions_test.go#L24
commentFormatting: put a space between `//` and comment text (gocritic)
|
test:
domain/redirectdefinition/utils/consolidateredirectdefinitions_test.go#L42
commentFormatting: put a space between `//` and comment text (gocritic)
|
test:
domain/redirectdefinition/repository/redirectdefinition.go#L69
unused-parameter: parameter 'id' seems to be unused, consider removing or renaming it as _ (revive)
|
test:
domain/redirectdefinition/utils/consolidateredirectdefinitions_test.go#L19
redefines-builtin-id: redefinition of the built-in function new (revive)
|
test:
domain/redirectdefinition/utils/consolidateredirectdefinitions.go#L13
unused-parameter: parameter 'l' seems to be unused, consider removing or renaming it as _ (revive)
|
test:
domain/redirectdefinition/utils/autocreateredirectdefinitions.go#L86
var-naming: func FindNodeById should be FindNodeByID (revive)
|
test:
domain/redirectdefinition/utils/consolidateredirectdefinitions.go#L14
unused-parameter: parameter 'old' seems to be unused, consider removing or renaming it as _ (revive)
|
test:
domain/redirectdefinition/utils/autocreateredirectdefinitions_test.go#L90
redefines-builtin-id: redefinition of the built-in function new (revive)
|
test:
domain/redirectdefinition/utils/autocreateredirectdefinitions_test.go#L170
redefines-builtin-id: redefinition of the built-in function new (revive)
|
test:
domain/redirectdefinition/provider/redirectsprovider.go#L29
unused-parameter: parameter 'regexLegacyProductURL' seems to be unused, consider removing or renaming it as _ (revive)
|
test:
domain/redirectdefinition/provider/redirectsprovider.go#L31
unused-parameter: parameter 'useNats' seems to be unused, consider removing or renaming it as _ (revive)
|
test:
domain/redirectdefinition/provider/redirectsprovider.go#L32
unused-parameter: parameter 'matcherFuncs' seems to be unused, consider removing or renaming it as _ (revive)
|