Skip to content

Conversation

@tcoch
Copy link
Contributor

@tcoch tcoch commented Jan 10, 2026

Out of the box, the generated tests do not work.
I found out that removing the trailing slash is actually enough to make them work !
This PR aims to fix that.

@GromNaN GromNaN added the Bug Bug Fix label Jan 10, 2026
@GromNaN
Copy link
Member

GromNaN commented Jan 11, 2026

Thank you @tcoch.

@GromNaN GromNaN merged commit 8843412 into symfony:1.x Jan 11, 2026
11 checks passed
GromNaN added a commit that referenced this pull request Jan 13, 2026
…MakerBundle's CI (GromNaN)

This PR was merged into the 1.x branch.

Discussion
----------

[make:crud] Ensure the generated functional tests run in MakerBundle's CI

In order to ensure there is no regression in the generated test case (#1773), they must be run in MakerBundle's CI.

The `markTestIncomplete` call stops the execution by throwing and exception. Skipping all the test body. By moving this call at the end of the method, the tests are fully run.

I even wonder if marking tests as incomplete serves any purpose.

For reference, this was added in #307, this point was not discussed.

Commits
-------

69e911a [make:crud] Move markTestIncomplete at the end to ensure the test is run in MakerBundle CI
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bug Bug Fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants