Skip to content

Commit

Permalink
Adjust tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lucaslinhares committed Jan 15, 2025
1 parent 1b1ac9d commit 5c22c76
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions temba/channels/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -592,8 +592,8 @@ def test_claim_all(self):
self.assertEqual(response.context["channel_types"]["SOCIAL_MEDIA"][0].code, "D3C")
self.assertEqual(response.context["channel_types"]["SOCIAL_MEDIA"][1].code, "FBA")
self.assertEqual(response.context["channel_types"]["SOCIAL_MEDIA"][2].code, "IG")
self.assertEqual(response.context["channel_types"]["SOCIAL_MEDIA"][-2].code, "WC")
self.assertEqual(response.context["channel_types"]["SOCIAL_MEDIA"][-1].code, "ZVW")
self.assertEqual(response.context["channel_types"]["SOCIAL_MEDIA"][-2].code, "ZVW")
self.assertEqual(response.context["channel_types"]["SOCIAL_MEDIA"][-1].code, "WC")

self.admin.groups.add(Group.objects.get(name="Beta"))

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 @@ -1040,7 +1040,7 @@ def test_migrate_sample_flows(self):
email_node = order_checker.get_definition()["nodes"][10]
email_action = email_node["actions"][1]

self.assertEqual(["admin@textit.com"], 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 5c22c76

Please sign in to comment.