Closed mnigh closed 2 years ago
We would first need to generate an access token. Then, we would need to use the postGraphQL function instead of the graphQL function to be able to pass the access token (Bearer token) via a request header.
@tristan-orourke Should this have been closed? The tests are still broken.
If the tests are still broken, I'm not sure why it was closed :/ I'll reopen it
If the tests are still broken, I'm not sure why it was closed :/ I'll reopen it
It looks like the tests were marked to be skipped in #1993.
When running the PHPUnit tests within the class TestUser, all three of the tests result in failures: "No authorization token found.".
Steps to reproduce
cd infrastructure
docker-compose exec -w /var/www/html/api php sh -c "./vendor/bin/phpunit tests/UserTest.php"