Skip to content

Commit

Permalink
suppression de Mlle sur la partie ticketing
Browse files Browse the repository at this point in the history
  • Loading branch information
agallou committed Aug 20, 2021
1 parent baea202 commit 0e347b6
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 7 deletions.
1 change: 0 additions & 1 deletion sources/AppBundle/Event/Form/TicketType.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@ public function buildForm(FormBuilderInterface $builder, array $options)
'label' => 'Civilité',
'choices' => [
'M.' => 'M.',
'Mlle' => 'Mlle',
'Mme' => 'Mme'
]
])
Expand Down
2 changes: 1 addition & 1 deletion tests/behat/features/EventPages/Ticketing.feature
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Feature: Event pages - Ticketing
Given I am on "/event/forum/tickets"
Then I should see "Billetterie: forum"
And I should see "Si vous rencontrez le moindre problème, n'hésitez pas à nous contacter à l'adresse bonjour [@] afup.org."
Then The "purchase[tickets][0][civility]" field should only contain the follow values '["M.", "Mlle", "Mme"]'
Then The "purchase[tickets][0][civility]" field should only contain the follow values '["M.", "Mme"]'
When I fill in "purchase[tickets][0][firstname]" with "Prénom personne 1"
And I fill in "purchase[tickets][0][lastname]" with "Nom personne 1"
And I fill in "purchase[tickets][0][email]" with "[email protected]"
Expand Down
2 changes: 1 addition & 1 deletion tests/behat/features/EventPages/TicketingEn.feature
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ Feature: Event pages - Ticketing - en anglais
Scenario: On voit bien toute la page, même le footer
Given I am on "/event/forum/tickets?_locale=en"
Then I should see "Ticketting: forum"
Then The "purchase[tickets][0][civility]" field should only contain the follow values '["M.", "Ms.", "Mrs."]'
Then The "purchase[tickets][0][civility]" field should only contain the follow values '["M.", "Mrs."]'
4 changes: 0 additions & 4 deletions translations/inscription.en.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,6 @@
<source>Mme</source>
<target>Mrs</target>
</trans-unit>
<trans-unit id="12">
<source>Mlle</source>
<target>Ms</target>
</trans-unit>
<trans-unit id="13">
<source>2 jours en prévente :</source>
<target>2 days pre-sale ticket</target>
Expand Down

0 comments on commit 0e347b6

Please sign in to comment.