TL;DR Every time a unit test is run, all Commands are instantiated, and any dependencies injected in...
This has just cost me a fair few hours, so in case it helps someone else... I'd been passing the CSR...
Easier solution - a bit blunt but effective: In app/Console/Kernel.php /** * Remove all commands pr...
Thanks to sisve and jemaclus on #laravel (freenode) for helping me find the answer. I'm using TestC...
The Laravel portal for problem solving, knowledge sharing and community building.
The community