jeudi 24 mars 2016

How to set global header in Laravel 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?

Aucun commentaire:

Enregistrer un commentaire