]> git.immae.eu Git - github/wallabag/wallabag.git/commit
Re-use `NewUserType` to validate registration
authorJeremy Benoist <jeremy.benoist@gmail.com>
Tue, 30 May 2017 05:56:01 +0000 (07:56 +0200)
committerJeremy Benoist <jeremy.benoist@gmail.com>
Tue, 30 May 2017 05:56:01 +0000 (07:56 +0200)
commit5709ecb36809fb009446a11a758232bbe8f264e4
tree0880f40fe8e6e563ef5648c267bb1f65251a0355
parent2251045901875aa815dee43ec467fb1af8d416d0
Re-use `NewUserType` to validate registration

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
src/Wallabag/ApiBundle/Controller/UserRestController.php
src/Wallabag/UserBundle/Entity/User.php
tests/Wallabag/ApiBundle/Controller/UserRestControllerTest.php [new file with mode: 0644]
tests/Wallabag/ApiBundle/WallabagApiTestCase.php