You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Although documentation specifies that passing an instance is allowed when testing, asserting a chain with object instances throws an error. Seems like it only expects strings.
TypeError: Illegal offset type in isset or empty
/app/vendor/laravel/framework/src/Illuminate/Support/Testing/Fakes/BusFake.php:382
/app/vendor/laravel/framework/src/Illuminate/Support/Testing/Fakes/BusFake.php:322
/app/vendor/laravel/framework/src/Illuminate/Support/Testing/Fakes/BusFake.php:206
/app/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php:261
Steps To Reproduce:
Create a test and assert a chain. You don't even need to add various jobs to test it.
Bus::assertChained([
new JobOne($order)
]);
The text was updated successfully, but these errors were encountered:
Description:
Although documentation specifies that passing an instance is allowed when testing, asserting a chain with object instances throws an error. Seems like it only expects strings.
Steps To Reproduce:
Create a test and assert a chain. You don't even need to add various jobs to test it.
The text was updated successfully, but these errors were encountered: