Skip to content

Commit

Permalink
fix: updated the api test that was failing due to conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
eemaanamir authored and ayesha-waris committed Feb 6, 2024
1 parent fab294d commit f82f9cd
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion openedx/core/djangoapps/notifications/tests/test_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -385,6 +385,7 @@ def test_info_is_not_saved_in_json(self):


@override_waffle_flag(ENABLE_NOTIFICATIONS, active=True)
@override_waffle_flag(ENABLE_REPORTED_CONTENT_NOTIFICATIONS, active=True)
@ddt.ddt
class UserNotificationChannelPreferenceAPITest(ModuleStoreTestCase):
"""
Expand Down Expand Up @@ -450,7 +451,9 @@ def _expected_api_response(self, course=None):
'new_comment',
'new_response',
'response_on_followed_post',
'comment_on_followed_post'
'comment_on_followed_post',
'response_endorsed_on_thread',
'response_endorsed'
],
'notification_types': {
'core': {
Expand All @@ -462,6 +465,7 @@ def _expected_api_response(self, course=None):
},
'new_discussion_post': {'web': False, 'email': False, 'push': False, 'info': ''},
'new_question_post': {'web': False, 'email': False, 'push': False, 'info': ''},
'content_reported': {'web': True, 'email': True, 'push': True, 'info': ''},
},
'non_editable': {
'core': ['web']
Expand Down

0 comments on commit f82f9cd

Please sign in to comment.