Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
norkans7 committed Mar 7, 2023
1 parent 87df424 commit e0a2e86
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion temba/channels/types/twilio/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ def test_update(self):
mock_check_credentials.return_value = False

response = self.client.post(update_url, post_data)
self.assertFormError(response, "form", "__all__", "Channel credentials don't appear to be valid.")
self.assertFormError(response, "form", None, "Channel credentials don't appear to be valid.")

@patch("temba.orgs.models.TwilioClient", MockTwilioClient)
@patch("twilio.request_validator.RequestValidator", MockRequestValidator)
Expand Down
2 changes: 1 addition & 1 deletion temba/channels/types/twilio_messaging_service/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,4 +130,4 @@ def test_update(self):
mock_check_credentials.return_value = False

response = self.client.post(update_url, post_data)
self.assertFormError(response, "form", "__all__", "Channel credentials don't appear to be valid.")
self.assertFormError(response, "form", None, "Channel credentials don't appear to be valid.")
2 changes: 1 addition & 1 deletion temba/channels/types/twilio_whatsapp/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,4 +178,4 @@ def test_update(self):
mock_check_credentials.return_value = False

response = self.client.post(update_url, post_data)
self.assertFormError(response, "form", "__all__", "Channel credentials don't appear to be valid.")
self.assertFormError(response, "form", None, "Channel credentials don't appear to be valid.")

0 comments on commit e0a2e86

Please sign in to comment.