Skip to content

We have to manually disable MultiJSON in one of the tests #5500

@KludgeKML

Description

@KludgeKML

Introduced in: #5498

Tests which use GovukSchemas::RandomExample in the specialist_document model tests rely on json-schema to validate the generated examples. This gem throws deprecation warnings about MultiJSON being present - which it is, but only because the pact gems include it as a sub-sub-dependency - we don't actually want/need to use it.

To clear the deprecation method we have to add some lines into the test to turn it off: c1bd5a1 - but presumably at some point we won't need that any more (or maybe there's a better way to only load MultiJSON during pact tests).

Metadata

Metadata

Assignees

No one assigned

    Labels

    tech-debtPull requests which introduce tech debt

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions