You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 20, 2021. It is now read-only.
Scenario: Check that an email is sent when submitting a contact formWhen I send a "POST" request to "/contact_form/send?site_id=2&contact_form_id=1" with parameters:
| key | value | | field[1] | Astley | | field[2] | Rick | | field[3] | rick.astley@roll.com | | field[4] | 0123456789 | | field[5] | I'mnevergonnagiveyouup | | field[6] | 30ruedumauvaisgoût | | field[7] | 69001 | | field[8] | Lyon | | message | nevergonnaletyoudown | | privacyAgreement | 1 |Then the response status code should be 200
And a mail should have been sent to "rick.astley@roll.com"
On the controller part: dump($request->request->get('field'));
Before version v3.2.0:
array:8 [
1 => "Astley"2 => "Rick"
3 => "rick.astley@roll.com"
4 => "0123456789"5 => "I'm never gonna give you up"6 => "30 rue du mauvais goût"
7 => "69001"
8 => "Lyon"
]