M
M
Maxim2020-11-05 17:04:44
PHPUnit
Maxim, 2020-11-05 17:04:44

How to use one authorization token in several phpunit tests?

I need to test the api of the server, token is used on all endpoints, is it possible in phpunit to get a token before starting the tests and pass it to the tests?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question