-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
E-mails : passage à @transport.data.gouv.fr (#3552)
* E-mails : passage à @transport.data.gouv.fr * Update missing test
- Loading branch information
1 parent
8b32a75
commit 898e4ec
Showing
17 changed files
with
62 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -131,9 +131,9 @@ defmodule Transport.Test.Transport.Jobs.MultiValidationWithErrorNotificationJobT | |
|
||
Transport.EmailSender.Mock | ||
|> expect(:send_mail, fn "transport.data.gouv.fr", | ||
"contact@transport.beta.gouv.fr", | ||
"contact@transport.data.gouv.fr", | ||
"[email protected]" = _to, | ||
"contact@transport.beta.gouv.fr", | ||
"contact@transport.data.gouv.fr", | ||
subject, | ||
"", | ||
html -> | ||
|
@@ -153,9 +153,9 @@ defmodule Transport.Test.Transport.Jobs.MultiValidationWithErrorNotificationJobT | |
|
||
Transport.EmailSender.Mock | ||
|> expect(:send_mail, fn "transport.data.gouv.fr", | ||
"contact@transport.beta.gouv.fr", | ||
"contact@transport.data.gouv.fr", | ||
^reuser_email, | ||
"contact@transport.beta.gouv.fr", | ||
"contact@transport.data.gouv.fr", | ||
subject, | ||
"", | ||
html -> | ||
|
@@ -171,9 +171,9 @@ defmodule Transport.Test.Transport.Jobs.MultiValidationWithErrorNotificationJobT | |
|
||
Transport.EmailSender.Mock | ||
|> expect(:send_mail, fn "transport.data.gouv.fr", | ||
"contact@transport.beta.gouv.fr", | ||
"contact@transport.data.gouv.fr", | ||
"[email protected]" = _to, | ||
"contact@transport.beta.gouv.fr", | ||
"contact@transport.data.gouv.fr", | ||
subject, | ||
"", | ||
html -> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,9 +31,9 @@ defmodule Transport.Test.Transport.Jobs.ObanLoggerTest do | |
# Should be sent when failing at the last attempt | ||
Transport.EmailSender.Mock | ||
|> expect(:send_mail, fn "transport.data.gouv.fr", | ||
"contact@transport.beta.gouv.fr", | ||
"contact@transport.data.gouv.fr", | ||
"[email protected]" = _to, | ||
"contact@transport.beta.gouv.fr", | ||
"contact@transport.data.gouv.fr", | ||
"Échec de job Oban : Transport.Test.Transport.Jobs.ObanLoggerJobTag" = _subject, | ||
plain_text_body, | ||
"" = _html_part -> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -137,9 +137,9 @@ defmodule Transport.Test.Transport.Jobs.ResourceUnavailableNotificationJobTest d | |
|
||
Transport.EmailSender.Mock | ||
|> expect(:send_mail, fn "transport.data.gouv.fr", | ||
"contact@transport.beta.gouv.fr", | ||
"contact@transport.data.gouv.fr", | ||
"[email protected]" = _to, | ||
"contact@transport.beta.gouv.fr", | ||
"contact@transport.data.gouv.fr", | ||
subject, | ||
_plain_text_body, | ||
html_part -> | ||
|
@@ -156,9 +156,9 @@ defmodule Transport.Test.Transport.Jobs.ResourceUnavailableNotificationJobTest d | |
|
||
Transport.EmailSender.Mock | ||
|> expect(:send_mail, fn "transport.data.gouv.fr", | ||
"contact@transport.beta.gouv.fr", | ||
"contact@transport.data.gouv.fr", | ||
^reuser_email = _to, | ||
"contact@transport.beta.gouv.fr", | ||
"contact@transport.data.gouv.fr", | ||
subject, | ||
_plain_text_body, | ||
html_part -> | ||
|
@@ -174,9 +174,9 @@ defmodule Transport.Test.Transport.Jobs.ResourceUnavailableNotificationJobTest d | |
|
||
Transport.EmailSender.Mock | ||
|> expect(:send_mail, fn "transport.data.gouv.fr", | ||
"contact@transport.beta.gouv.fr", | ||
"contact@transport.data.gouv.fr", | ||
"[email protected]" = _to, | ||
"contact@transport.beta.gouv.fr", | ||
"contact@transport.data.gouv.fr", | ||
subject, | ||
_plain_text_body, | ||
html_part -> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -192,10 +192,10 @@ config :transport, | |
max_import_concurrent_jobs: (System.get_env("MAX_IMPORT_CONCURRENT_JOBS") || "1") |> String.to_integer(), | ||
nb_days_to_keep_validations: 60, | ||
join_our_slack_link: "https://join.slack.com/t/transportdatagouvfr/shared_invite/zt-2n1n92ye-sdGQ9SeMh5BkgseaIzV8kA", | ||
contact_email: "contact@transport.beta.gouv.fr", | ||
bizdev_email: "deploiement@transport.beta.gouv.fr", | ||
contact_email: "contact@transport.data.gouv.fr", | ||
bizdev_email: "deploiement@transport.data.gouv.fr", | ||
tech_email: "[email protected]", | ||
security_email: "contact@transport.beta.gouv.fr", | ||
security_email: "contact@transport.data.gouv.fr", | ||
transport_tools_folder: Path.absname("transport-tools/") | ||
|
||
# For now, never send session data (containing sensitive data in our case) nor params, | ||
|