I am using Slim and PHPUnit, and want to test that making a GET
request to a specific endpoint results in a redirect. I have tried getting the headers of the response, but they show a 200
since the response is the correctly-loaded page to which I am redirected.
Aucun commentaire:
Enregistrer un commentaire