Disable auth by default and add more examples tests
The core bundle no longer requires auth by default which means all API endpoints can be accessed without any token now. This adds one custom controlle which requires auth as an example. Also adds some basic tests for all the added endpoints.
Showing
- composer.json 5 additions, 2 deletionscomposer.json
- composer.lock 236 additions, 10 deletionscomposer.lock
- phpunit.xml.dist 2 additions, 0 deletionsphpunit.xml.dist
- src/Controller/LoggedInOnly.php 19 additions, 0 deletionssrc/Controller/LoggedInOnly.php
- src/Entity/Place.php 9 additions, 1 deletionsrc/Entity/Place.php
- src/Resources/config/services.yaml 5 additions, 0 deletionssrc/Resources/config/services.yaml
- tests/ApiTest.php 40 additions, 0 deletionstests/ApiTest.php
- tests/Kernel.php 46 additions, 0 deletionstests/Kernel.php
Loading
-
mentioned in issue #3
By Reiter, Christoph on 2021-02-25T11:09:20 (imported from GitLab)
-
mentioned in issue #3
By Reiter, Christoph on 2021-02-25T11:09:20 (imported from GitLab)
-
mentioned in issue #1
By Reiter, Christoph on 2021-02-25T11:10:17 (imported from GitLab)
-
mentioned in issue #1
By Reiter, Christoph on 2021-02-25T11:10:17 (imported from GitLab)
Please register or sign in to comment