I am looking for a solution to embed jwt token as header in the get/post requests I sent to the server in my phpunit tests. Is there any option to add header to the GET/POST calls? I am currently using following method to send a GET request to the server.
content = $this->get('users/logout')->response->getContent();
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire