Skip to content

Commit

Permalink
change email in flows test
Browse files Browse the repository at this point in the history
  • Loading branch information
lucaslinhares committed Oct 25, 2024
1 parent 409fe67 commit d51cd05
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions static/examples/sample_flows.json
Original file line number Diff line number Diff line change
Expand Up @@ -953,7 +953,7 @@
},
{
"addresses": [
"ilanna.lins@weni.ai"
"admin@weni.ai"
],
"body": "A new survey was just completed by @contact (@(format_urn(urns.tel))).\n\nShop Again: @results.shop_again \nRecommend: @results.recommend \nSuggestion: \"@results.suggestion\"\n\nSurvey completed by @results.age year old @results.gender.category_localized at @results.gender.created_on.",
"subject": "New Survey Completion",
Expand Down Expand Up @@ -1621,7 +1621,7 @@
},
{
"addresses": [
"ilanna.lins@weni.ai"
"admin@weni.ai"
],
"body": "Customer @results.order_name has a problem with their order @results.order_number for @results.order_description. Please look into it ASAP and call them back with the status.\n \nCustomer Comment: \"@results.comment\"\nCustomer Name: @results.order_name\nCustomer Phone: @(format_urn(urns.tel)) ",
"subject": "Order Comment: @results.lookup: @results.order_number",
Expand Down
2 changes: 1 addition & 1 deletion temba/flows/legacy/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -1059,7 +1059,7 @@ def test_migrate_sample_flows(self):
email_node = order_checker.get_definition()["nodes"][10]
email_action = email_node["actions"][1]

self.assertEqual(["ilanna.lins@weni.ai"], email_action["addresses"])
self.assertEqual(["admin@weni.ai"], email_action["addresses"])

def test_migrate_bad_group_names(self):
# This test makes sure that bad contact groups (< 25, etc) are migrated forward properly.
Expand Down

0 comments on commit d51cd05

Please sign in to comment.