I am using build-in Laravel TestCase for testing my REST API.
Each endpoint requires Accept:application/json header.
How can I set this header globally for each response in TestCase?
I am using build-in Laravel TestCase for testing my REST API.
Each endpoint requires Accept:application/json header.
How can I set this header globally for each response in TestCase?