Skip to content
This repository has been archived by the owner on Jul 27, 2022. It is now read-only.

Commit

Permalink
ISAICP-5780: Update contact form email address (#1953)
Browse files Browse the repository at this point in the history
ISAICP-5780: Update contact form email address
  • Loading branch information
claudiu-cristea authored Jan 20, 2020
2 parents acc2e2a + 6bfba3e commit bc88d8c
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion config/sync/contact_form.settings.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
default_recipient: [email protected]
default_recipient: DIGIT-JOINUP-SUPPORT-EXT-FORWARD@ec.europa.eu
contact_form_from: [email protected]
16 changes: 8 additions & 8 deletions tests/features/contact_form/submit_contact_form.feature
Original file line number Diff line number Diff line change
Expand Up @@ -43,23 +43,23 @@ Feature: Submit the contact form

# Both moderators should have received the notification e-mail.
Then the following email should have been sent:
| template | Contact form submission |
| from | digit-joinup@ec.europa.eu |
| recipient_mail | DIGIT-JOINUP-SUPPORT@ec.europa.eu |
| subject | Joinup - Contact form submission |
| body | Dear sir, madam, ... |
| signature_required | no |
| template | Contact form submission |
| from | digit-joinup@ec.europa.eu |
| recipient_mail | DIGIT-JOINUP-SUPPORT-EXT-FORWARD@ec.europa.eu |
| subject | Joinup - Contact form submission |
| body | Dear sir, madam, ... |
| signature_required | no |
And I should see the following success messages:
| success messages |
| Your message has been submitted. Thank you for your feedback. |
When I click the link for the "logo.png" attachment in the contact form email sent to "[email protected]"
When I click the link for the "logo.png" attachment in the contact form email sent to "DIGIT-JOINUP-SUPPORT-EXT-FORWARD@ec.europa.eu"
# For anonymous users, the file should not be accessible.
# The redirection to the login page returns a 200 code instead of a 403 so check for the error message instead.
Then I should see the text "Access denied. You must sign in to view this page."
When I am logged in as a moderator
# Private files from contact forms are stored in
# "<base url>/<private system path>/contact_form/<year>_<month>/<file>"
And I click the link for the "logo.png" attachment in the contact form email sent to "[email protected]"
And I click the link for the "logo.png" attachment in the contact form email sent to "DIGIT-JOINUP-SUPPORT-EXT-FORWARD@ec.europa.eu"
# The server responds with an image.
Then the content type of the response should be 'image/png'

Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
default_recipient: '[email protected]'
default_recipient: 'DIGIT-JOINUP-SUPPORT-EXT-FORWARD@ec.europa.eu'
contact_form_from: '[email protected]'

0 comments on commit bc88d8c

Please sign in to comment.