Basic overview on how to test a Laravel API endpoint using PHPUnit. Recommend the official PHPUnit docs for more info about the Assertions and Fixtures you could use, etc. https://phpunit.readthedocs.io/en/9.5/
Prerequisites:
Install Laravel: https://laravel.com/docs/8.x/installa... (which comes with PHPUnit).
Social:
Instagram: / rayscafe
Fb: / rayscafes