I trying to run phpunit inside larvel command but laravel affect the phpunit enviroment.
public function fire()
{
passthru('vendor\bin\phpunit', $return);
}
When running phpunit from cmd it running with the testing environment but when I try to run though laravel command it always use the default enviroment.
Any suggestions?
Thanks
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community