Skip to content
This repository was archived by the owner on May 12, 2018. It is now read-only.

[WIP] Update test suite #139

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

[WIP] Update test suite #139

wants to merge 2 commits into from

Conversation

matt-allan
Copy link
Collaborator

@matt-allan matt-allan commented Mar 25, 2018

WIP. Updating the test suite introduced a few failing tests.

  • Recursive references between schemas

This test is not failing because it's recursive but because it requires the dereferencer to walk the current document before attempting to load it via the URI. See json-schema-org/JSON-Schema-Test-Suite#217 and json-schema-org/json-schema-spec#576.

  • a valid tel URI

This is failing because we are using FILTER_VALIDATE_URL and it's a URI, not a URL. I probably need to pull in league/uri-parser but that will bump the minimum version to 7.0. I was considering doing that anyway.

  • ECMA 262 regex non-compliance

This is failing because we use php's PCRE regex instead of ECMA. I don't think it's worth trying to fix this, it's an optional test.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant