Skip to content
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

Fix using assertions #227

Merged
merged 3 commits into from
Aug 26, 2019
Merged

Conversation

dunglas
Copy link
Member

@dunglas dunglas commented Aug 26, 2019

The instance of the client stored in the static local variable in getClient is reset between every tests. Assertions then work properly only in the first test of the class. This PR fixes that.

@dunglas dunglas merged commit b6a768d into symfony:master Aug 26, 2019
@dunglas dunglas deleted the fix-createPantherClient-assert branch August 26, 2019 15:06
dunglas added a commit that referenced this pull request Dec 28, 2020
* Fix using assertions

* Update changelog

* Fix PHPStan
nicolas-grekas pushed a commit that referenced this pull request Jan 18, 2021
* Fix using assertions

* Update changelog

* Fix PHPStan
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