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

[4.x] Fix test failure from double faking Event #7599

Merged
merged 1 commit into from
Feb 23, 2023

Conversation

jasonvarga
Copy link
Member

@jasonvarga jasonvarga commented Feb 23, 2023

Since Laravel 10.1.4, faking a facade twice can have a different outcome.

We should not have been doing this anyway. See laravel/framework#46188 for context.

The test should probably be rewritten to perform all the assertions at the end, but this will do for now.

@jasonvarga jasonvarga merged commit d391af2 into master Feb 23, 2023
@jasonvarga jasonvarga deleted the fix/double-fake-test-failure branch February 23, 2023 18:51
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