diff --git a/sources/AppBundle/Controller/LegacyController.php b/sources/AppBundle/Controller/LegacyController.php index 216abbdb0..17e852ed3 100644 --- a/sources/AppBundle/Controller/LegacyController.php +++ b/sources/AppBundle/Controller/LegacyController.php @@ -115,7 +115,7 @@ public function registerAction(Request $request) $formulaire->addElement('hidden', 'compte_svn'); $formulaire->addElement('header', '', 'Informations'); - $formulaire->addElement('select', 'civilite', 'Civilité', ['M.', 'Mme', 'Mlle']); + $formulaire->addElement('select', 'civilite', 'Civilité', ['M.', 'Mme']); $formulaire->addElement('text', 'nom', 'Nom', ['size' => 30, 'maxlength' => 40]); $formulaire->addElement('text', 'prenom', 'Prénom', ['size' => 30, 'maxlength' => 40]); $formulaire->addElement('text', 'login', 'Login', ['size' => 30, 'maxlength' => 30]); diff --git a/tests/behat/features/PublicSite/Register.feature b/tests/behat/features/PublicSite/Register.feature index 9d0c77b75..a91b70a93 100644 --- a/tests/behat/features/PublicSite/Register.feature +++ b/tests/behat/features/PublicSite/Register.feature @@ -7,7 +7,7 @@ Feature: Site Public - Register Then I should see "Devenir membre de l'AFUP" When I follow "Adhérer en tant que particulier" Then I should see "Formulaire d'incription à l'AFUP" - Then The "civilite" field should only contain the follow values '["M.", "Mme", "Mlle"]' + Then The "civilite" field should only contain the follow values '["M.", "Mme"]' When I fill in "nom" with "Mon nom" And I fill in "prenom" with "Mon prénom" And I fill in "login" with "lelogin"