Skip to content

Conversation

@yceruto
Copy link
Member

@yceruto yceruto commented Aug 30, 2017

We can configure the test database file in phpunit.xml.dist and keep it simple.

with data set #0 ('GET', '/en/admin/post/')
Symfony\Component\DependencyInjection\Exception\EnvNotFoundException:
Environment variable not found: "APP_SECRET".
-->
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This TODO comment feel like a work around when defining environment variables here should be the early way to go. Can be removed or modified?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes! Let's do that in a separate PR. Thanks

@javiereguiluz javiereguiluz merged commit b27b1c6 into symfony:master Aug 30, 2017
javiereguiluz added a commit that referenced this pull request Aug 30, 2017
This PR was merged into the master branch.

Discussion
----------

Remove forced configuration for tests environment

We can configure the test database file in `phpunit.xml.dist` and keep it simple.

Commits
-------

b27b1c6 Remove forced configuration for tests environment
@yceruto yceruto deleted the tests branch August 30, 2017 18:58
javiereguiluz added a commit that referenced this pull request Aug 31, 2017
This PR was merged into the master branch.

Discussion
----------

Set environment variables comment for test

Fix #627 (comment)

Commits
-------

abcbe22 Set environment variables comment
sayjun0505 added a commit to sayjun0505/sym_proj that referenced this pull request Apr 16, 2023
This PR was merged into the master branch.

Discussion
----------

Set environment variables comment for test

Fix symfony/demo#627 (comment)

Commits
-------

abcbe22 Set environment variables comment
spider-yamet added a commit to spider-yamet/sym_proj that referenced this pull request Apr 16, 2023
This PR was merged into the master branch.

Discussion
----------

Set environment variables comment for test

Fix symfony/demo#627 (comment)

Commits
-------

abcbe22 Set environment variables comment
frederickboyd pushed a commit to frederickboyd/frederickboyd that referenced this pull request May 25, 2025
This PR was merged into the master branch.

Discussion
----------

Set environment variables comment for test

Fix symfony/demo#627 (comment)

Commits
-------

abcbe22 Set environment variables comment
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