Skip to content

test: isolate joined inheritance routes - #8532

Merged
soyuka merged 1 commit into
api-platform:mainfrom
soyuka:fix-main-ci-operation-collision
Sep 15, 2026
Merged

soyuka merged 1 commit into
api-platform:mainfrom
soyuka:fix-main-ci-operation-collision

Conversation

@soyuka

@soyuka soyuka commented Sep 14, 2026

Copy link
Copy Markdown
Member

The route-name collision check added in #8502 exposed two globally loaded Foo resources that generated the same operation name during test application boot.

This moves the joined-inheritance fixtures out of the legacy issue-number namespace, gives every fixture operation an explicit unique short name and URI template, and loads the existing Foo alongside the renamed owner in the focused functional test so the collision remains covered.

Tests:

  • vendor/bin/phpunit tests/Functional/Doctrine/JoinedInheritanceSerializerGroupsTest.php --filter testJoinedInheritanceSubclassGroupsEmbedRelation
  • PHP_CS_FIXER_IGNORE_ENV=1 vendor/bin/php-cs-fixer fix --ansi --show-progress=none --sequential

Broader regression scope is left to CI.

@soyuka soyuka changed the title fix(tests): isolate joined inheritance routes test: isolate joined inheritance routes Sep 15, 2026
@soyuka
soyuka merged commit 46c5610 into api-platform:main Sep 15, 2026
115 of 117 checks passed
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