Excel::assertQueuedWithChain throw an error of get_class(): Argument #1 ($object) must be of type object, null given
#3333
Unanswered
yasuaki640
asked this question in
Q&A
Replies: 1 comment 2 replies
-
I'm guessing that the cause of this error is a change in the
Or maybe my code is wrong. Thank you. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to test that an import job is queued and a notification is sent when the import is finished.
I wrote the test code but I can't test that the notification job was queued with the following error in the
Excel::assertQueuedWithChain
function.When I performed the manual test, I confirmed that the Excel file was imported and the notification was sent.
I will post the source code where the error occurred, so please point out any mistakes.
Environment
Codes
This is the code that is performing the import and queuing the notification job.
This is the test code.
All source code is in this repository.
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions