Skip to content

Conversation

@fancyweb
Copy link
Contributor

Q A
Branch? 4.4
Bug fix? no
New feature? no
Deprecations? no
Tickets -
License MIT
Doc PR -

The current code doesn't test properly because SYMFONY_DOTENV_VARS state is not cleaned for example. We want to test "from the start" everytime here (with no state from a previous load, like it would be in a real app).

@nicolas-grekas
Copy link
Member

Thank you @fancyweb.

@nicolas-grekas nicolas-grekas merged commit 396f1bf into symfony:4.4 Oct 25, 2021
@fancyweb fancyweb deleted the dotenv/fix-test branch October 25, 2021 12:29
nicolas-grekas added a commit that referenced this pull request Oct 26, 2021
… (fancyweb)

This PR was merged into the 5.3 branch.

Discussion
----------

[Dotenv] Fix testBootEnv() to start from a fresh context

| Q             | A
| ------------- | ---
| Branch?       | 5.3
| Bug fix?      | no
| New feature?  | no
| Deprecations? | no
| Tickets       | -
| License       | MIT
| Doc PR        | -

Same reason than #43692, needed by #43755.

Commits
-------

417b9c2 [Dotenv] Fix testBootEnv() to start from a fresh context
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.

3 participants