Skip to content

Update OpenApi PathItem nullable operation test#4122

Merged
alanpoulain merged 2 commits into
api-platform:2.6from
d0niek:2.6
Mar 8, 2021
Merged

Update OpenApi PathItem nullable operation test#4122
alanpoulain merged 2 commits into
api-platform:2.6from
d0niek:2.6

Conversation

@d0niek

@d0niek d0niek commented Mar 8, 2021

Copy link
Copy Markdown
Contributor

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
Copy Markdown
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