What's the best way to unit test a controller in Laravel without testing the route too
You can call your actions directly:
$response = $this->action('GET', 'OrdersController@show', ['id' => 1]);
The action
method has been removed from Laravel 5.4 testing api