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

[9.x] Fix dispatchAfterResponse in PendingBatchFake 🧪 #44815

Merged
merged 1 commit into from
Nov 2, 2022
Merged

[9.x] Fix dispatchAfterResponse in PendingBatchFake 🧪 #44815

merged 1 commit into from
Nov 2, 2022

Conversation

michael-rubel
Copy link
Contributor

About

Usage of dispatchAfterResponse on Bus::batch() causes the error in tests:

Call to a member function make() on null

./vendor/laravel/framework/src/Illuminate/Bus/PendingBatch.php:282

This PR fixes the error.

@taylorotwell taylorotwell merged commit 112f1fa into laravel:9.x Nov 2, 2022
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