testing - Laravel Artisan Error 'LARAVEL_ENV' is not recognized as an internal or external command -
for life of me cannot work 1 out, fresh laravel install ontop of wamp (win7 64) appropriate path variables added etc , arisan responding if run "php artisan test" get:
'laravel_env' not recognized internal or external command, operable program or batch file.
ideas?
see commit, breaks functionality in windows: https://github.com/laravel/laravel/commit/4046313ecd4934e09a621ee930ee31f88262475e
a solution given in forum oli change code in runner.php:
protected function test() { ... putenv('laravel_env='.request::env()); passthru('phpunit --configuration '.$esc_path, $status); ... }
you should able use php artisan --env=test test
again
Comments
Post a Comment