From 3f7a62908cc34b9d575bea5629dc0bb94e521e71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C5=93uillet?= Date: Tue, 25 Aug 2015 16:29:22 +0200 Subject: fix tests for FosUser --- src/Wallabag/CoreBundle/Form/Type/UserInformationType.php | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/Wallabag/CoreBundle/Form/Type') diff --git a/src/Wallabag/CoreBundle/Form/Type/UserInformationType.php b/src/Wallabag/CoreBundle/Form/Type/UserInformationType.php index 1b628051..e3196d9c 100644 --- a/src/Wallabag/CoreBundle/Form/Type/UserInformationType.php +++ b/src/Wallabag/CoreBundle/Form/Type/UserInformationType.php @@ -14,9 +14,16 @@ class UserInformationType extends AbstractType ->add('name', 'text') ->add('email', 'email') ->add('save', 'submit') + ->remove('username') + ->remove('plainPassword') ; } + public function getParent() + { + return 'fos_user_registration'; + } + public function configureOptions(OptionsResolver $resolver) { $resolver->setDefaults(array( -- cgit v1.2.3