Skip to content

Artisan Facade is not mockable #412

Answered by crynobone
NiroDeveloper asked this question in Q&A
Discussion options

You must be logged in to vote

No plan for this, you can override the Console Kernel implementations based on https://packages.tools/testbench/the-basic.html#overriding-console-kernel

Alternatively, You can also create workbench/app/Console/Kernel.php and use WithWorkbench trait to automatically load your custom console kernel: https://packages.tools/testbench.html#autoloading-using-testbench-yaml

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by crynobone
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #411 on July 23, 2024 14:31.