Trying to get property 'id' of non-object in Laravel 8 Feature Testing code example
Example: trying to get property 'id' of non object in laravel api
$request->user()->id or Auth::user()->id or $request["user"]["id"]
$request->user()->id or Auth::user()->id or $request["user"]["id"]