mirror of
https://github.com/flarum/framework.git
synced 2024-11-28 03:32:49 +08:00
5b3acfc0d9
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. |
||
---|---|---|
.. | ||
integration | ||
unit | ||
phpunit.integration.xml | ||
phpunit.unit.xml |