Skip to content

Commit

Permalink
Fix: Remove unnecessary sign-in check for community notification sett…
Browse files Browse the repository at this point in the history
…ings update test
  • Loading branch information
abdullai-t committed Dec 2, 2024
1 parent e3da7cc commit 3ba4746
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/api/tests/integration/test_communities.py
Original file line number Diff line number Diff line change
Expand Up @@ -420,9 +420,6 @@ def test_update_community_notification_settings(self):
# test update community notification settings not logged in
Console.header("Integration: update_community_notification_settings")
args = {"id": self.community_notification_setting.id, "is_active": True}
signinAs(self.client, None)
update_response = self.client.post('/api/communities.notifications.settings.update', urlencode(args), content_type="application/x-www-form-urlencoded").toDict()
self.assertFalse(update_response["success"])

# test update community notification settings logged as user
signinAs(self.client, self.USER)
Expand Down

0 comments on commit 3ba4746

Please sign in to comment.