Skip to content

[9.x] Fix dispatchAfterResponse in PendingBatchFake 馃И - #44815

Merged
taylorotwell merged 1 commit into
laravel:9.xfrom
michael-rubel:fix/dispatch-after-response-in-pending-batch-fake
Nov 2, 2022
Merged

[9.x] Fix dispatchAfterResponse in PendingBatchFake 馃И#44815
taylorotwell merged 1 commit into
laravel:9.xfrom
michael-rubel:fix/dispatch-after-response-in-pending-batch-fake

Conversation

@michael-rubel

Copy link
Copy Markdown
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