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
Execute the command, and you should see the message in the log file: local.INFO: The batch has 5 jobs
2. Paste the following code into a test to test the command:
Run this test, and you will find the message in the log file. However, I expect the message to be testing.INFO: The batch has 5 jobs instead of: testing.INFO: The batch has 0 jobs
The text was updated successfully, but these errors were encountered:
Laravel Version
11.10.0
PHP Version
8.3.3
Database Driver & Version
Mysql 8.3.0
Description
The method
add
of theBatchFake
class is not update thetotalJobs
property, the behaviour is not same as theBatch
class.Steps To Reproduce
Execute the command, and you should see the message in the log file:
local.INFO: The batch has 5 jobs
2. Paste the following code into a test to test the command:
Run this test, and you will find the message in the log file. However, I expect the message to be
testing.INFO: The batch has 5 jobs
instead of:testing.INFO: The batch has 0 jobs
The text was updated successfully, but these errors were encountered: