diff --git a/jsonschema.go b/jsonschema.go index acbf306..d9a0453 100644 --- a/jsonschema.go +++ b/jsonschema.go @@ -25,7 +25,7 @@ func (it *Test) validateJSONSchema(t internalT, body []byte) []error { return nil } - return it.executeWithStep(t, "Validate body by JSON schema", func(t T) []error { + return it.executeWithStep(t, "Validate body by JSON schema", func(_ T) []error { return checkJSONSchema(expect, body) }) } diff --git a/step.go b/step.go index fcca3ab..c8ba0b7 100644 --- a/step.go +++ b/step.go @@ -2,6 +2,7 @@ package cute import ( "fmt" + "github.com/ozontech/allure-go/pkg/allure" "github.com/ozontech/allure-go/pkg/framework/provider" "github.com/ozontech/cute/errors"