mirror of
https://github.com/flarum/framework.git
synced 2024-12-05 09:03:36 +08:00
76f7d566b2
Test the request, not a controller (implementation detail). This also focuses on the observable behavior instead of hacking our way into the middleware pipeline in order to observe internal behavior. The authenticated user is now determined by looking at the API response to compare permissions and (non-)existing JSON keys. |
||
---|---|---|
.. | ||
WithApiKeyTest.php | ||
WithTokenTest.php |