Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Updating testParametersContainingSubDefinitions#5

Open
moufmouf wants to merge 1 commit intomastercontainer-interop/definition-interop-tests:masterfrom
fix-sub-definitions-testcontainer-interop/definition-interop-tests:fix-sub-definitions-testCopy head branch name to clipboard
Open

Updating testParametersContainingSubDefinitions#5
moufmouf wants to merge 1 commit intomastercontainer-interop/definition-interop-tests:masterfrom
fix-sub-definitions-testcontainer-interop/definition-interop-tests:fix-sub-definitions-testCopy head branch name to clipboard

Conversation

@moufmouf
Copy link
Copy Markdown
Collaborator

I removed the "foo"=>"bar" part of the definitions array.
A DefinitionProvider should return an array of DefinitionInterface, indexed by key. "bar" is not a valid DefinitionInterface.

Note: the ArrayDefinitionProvider used in this test is NOT the one from Assembly (that wraps values not implementing the DefinitionInterface into ParameterDefinition objects). It is one I wrote for the tests that does pass the array "as is".

I removed the `"foo"=>"bar"` part of the definitions array.
A DefinitionProvider should return an array of `DefinitionInterface`, indexed by key. `"bar"` is not a valid `DefinitionInterface`.

Note: the `ArrayDefinitionProvider` used in this test is NOT the one from Assembly (that wraps values not implementing the `DefinitionInterface` into `ParameterDefinition` objects). It is one I wrote for the tests that does pass the array "as is".
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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.