@uniquehope https://laravel.com/docs/8.x/http-tests#introduction
Make request to method you want to test and checks response. What's the problem?
I am looking for what the syntax is, maybe I'm just tired, but can't seem to find a good reference, docs or otherwise. Simple stuff in, stuff out, assert that it is what was expected. If someone could grab one of their tests to use as an example, would be much appreciated.
@uniquehope try
$result = app(YourController::class)->yourMethod();
then do necessary assertions with result
Please or to participate in this conversation.