Skip to content

Update fixtures load command in testing #15899

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

Closed
wants to merge 1 commit into from

Conversation

LauranneM
Copy link

Use --env=test to load fixtures in the test database

Use --env=test to load fixtures in the test database
@LauranneM LauranneM changed the title Update fixtures load command Update fixtures load command in testing Oct 6, 2021
@javiereguiluz
Copy link
Member

@weaverryan could you please review this small change proposal to see if this is the way we want to recommend? Is this better than APP_ENV=test? Thanks!

@javiereguiluz javiereguiluz added this to the 5.3 milestone Oct 8, 2021
@javiereguiluz
Copy link
Member

Sorry we didn't reply to this pull request on time. Moreover, I'm afraid that the proposed change was already made a while ago while revisiting the entire Testing doc. See https://github.com/symfony/symfony-docs/blob/5.4/testing.rst#load-dummy-data-fixtures

So, we must sadly close this without merging. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants