Skip to content

Update OpenApi PathItem nullable operation test #4122

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Mar 8, 2021

Conversation

d0niek
Copy link
Contributor

@d0niek d0niek commented Mar 8, 2021

Previous test didn't test with* methods because they return new
(cloned) instance of $pathItem. In assertions we test nulls from
PathItem::_construct() instead of from with* methods.

Previous test didn't test `with*` methods because they return new
(cloned) instance of `$pathItem`. In assertions we test nulls from
`PathItem::_construct()` instead of from `with*` methods.
@alanpoulain alanpoulain merged commit cd2e35c into api-platform:2.6 Mar 8, 2021
@alanpoulain
Copy link
Member

Thank you @d0niek.

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.

2 participants