Skip to content

Correct misconfigured mocks in JsonSchema\Tests\Uri\UriRetrieverTest - #741

Merged
DannyvdSluijs merged 6 commits into
masterfrom
Correct-UriRetrieverTest
Jul 30, 2024
Merged

Correct misconfigured mocks in JsonSchema\Tests\Uri\UriRetrieverTest #741
DannyvdSluijs merged 6 commits into
masterfrom
Correct-UriRetrieverTest

Conversation

@DannyvdSluijs

Copy link
Copy Markdown
Collaborator

During the upgrade path to raise the minimum level of PHP it was found that the 'JsonSchema\Tests\Uri\UriRetrieverTesthad incorrectly configured mocks. TheUriRetrieverTest::confirmMediaType()requires aJsonSchema\Uri\Retrievers\UriRetrieverInterface` and not an instance of itself.
This test corrects them.

@DannyvdSluijs
DannyvdSluijs merged commit 4aa6fd3 into master Jul 30, 2024
@DannyvdSluijs
DannyvdSluijs deleted the Correct-UriRetrieverTest branch July 30, 2024 19:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant