aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/Wallabag/ApiBundle/Controller/UserRestControllerTest.php
Commit message (Collapse)AuthorAgeFilesLines
* Return 201 on user creationJeremy Benoist2017-06-021-2/+2
|
* API user creation behing a toggleJeremy Benoist2017-06-021-17/+79
| | | | | | | | I've added a toggle feature (in internal settings) so that user api creation can be disabled while form registration still can be enabled. Also, the /api/user endpoint shouldn't require authentication. Even if we check the authentication when sending a GET request, to retrieve current user information. I've moved all the internal settings definition to config to avoid duplicated place to define them. I don't know why we didn't did that earlier.
* Avoid side effect on other testsJeremy Benoist2017-05-301-1/+13
|
* Re-use `NewUserType` to validate registrationJeremy Benoist2017-05-301-0/+98
The only ugly things is how we handle error by generating the view and then parse the content to retrieve all errors… Fix exposition fields in User entity