Skip to content

test(symfony): use a component enum in UpgradeApiFilterVisitorTest - #8907

Merged
soyuka merged 1 commit into
api-platform:5.0from
Maxcastel:test/symfony-upgrade-filter-enum-fixture
Dec 1, 2026
Merged

soyuka merged 1 commit into
api-platform:5.0from
Maxcastel:test/symfony-upgrade-filter-enum-fixture

Conversation

@Maxcastel

Copy link
Copy Markdown
Contributor
Q A
Branch? 5.0
License MIT

The api-platform/symfony component tests fail since #8871:

ReflectionException: Class "ApiPlatform\Tests\Fixtures\TestBundle\Entity\Issue7126\StringBackedEnum" does not exist

UpgradeApiFilterVisitorTest uses an enum from the root tests/ folder, which is not autoloaded when the component is tested on its own.

@soyuka
soyuka merged commit a5d017d into api-platform:5.0 Dec 1, 2026
113 of 117 checks passed
@soyuka

soyuka commented Dec 1, 2026

Copy link
Copy Markdown
Member

thanks!

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