Skip to content

Commit

Permalink
suppression de Mlle sur la partie création des users
Browse files Browse the repository at this point in the history
  • Loading branch information
agallou committed Aug 20, 2021
1 parent ef0c535 commit baea202
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sources/AppBundle/Controller/LegacyController.php
Original file line number Diff line number Diff line change
Expand Up @@ -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]);
Expand Down
2 changes: 1 addition & 1 deletion tests/behat/features/PublicSite/Register.feature
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit baea202

Please sign in to comment.