Skip to content
This repository was archived by the owner on Aug 13, 2020. It is now read-only.
This repository was archived by the owner on Aug 13, 2020. It is now read-only.

Catalog goes to pick the $ref online when in test scope #648

Description

@Mitridata

if in the schema in the unit tests are present refs like:
$ref": "http://justice.gov.uk/json/schemas/core/data-types.json#/definitions/uuid
it will try to go to pick up them online and we get an:
java.io.UncheckedIOException: java.net.UnknownHostException: justice.gov.uk

[ERROR] EmployerHandlerTest.shouldDeleteEmployer:171 » UncheckedIO java.net.UnknownHos...
[ERROR] EmployerHandlerTest.shouldUpdateEmployer:117 » UncheckedIO java.net.UnknownHos...

the same test passes if there are not external references on the schema.
JsonEnvelopeMatcher.thatMatchesSchema()

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions