samedi 16 janvier 2016

phpunit prevent methods running at same time?

how can i prevent my methods from running at the same time for phpunit. I am doing a restful api with a web token that refreshes on each request, and would like to test outputs, however I am receiving token errors from all the tokens being requested at the same time. I would much prefer to run each test in this class one by one instead of at the same time.

Aucun commentaire:

Enregistrer un commentaire