Getting an instance of the Laravel IOC container for testing.
ONLY IF THE FUNCTIONAL TEST IS INSIDE A LARAVEL PACKAGE YOU CAN DO THE FOLLOWING:
EXTEND THIS FROM YOUR PARENT TEST CLASS.
Create your own request!
Before your code run in controller the validation was check the all input.
When something wrong, its return redirect back with all error.
And you can overwrite the default error messages!
In laravel 6 when you get error exception. sometime you will see "Maximum Execution 60s exceed for git status -s command". This error usually occurs when your Internet server or local area network access is slow or you are under embargo.