Skip to content

Commit 2f3ac12

Browse files
fix: updated failing tests
1 parent 0395ad8 commit 2f3ac12

2 files changed

Lines changed: 19 additions & 2 deletions

File tree

openedx/core/djangoapps/notifications/config/waffle.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,3 @@
3838
# .. toggle_target_removal_date: 2026-05-27
3939
# .. toggle_warning: When the flag is ON, Notifications will go through ace push channels.
4040
ENABLE_PUSH_NOTIFICATIONS = CourseWaffleFlag(f'{WAFFLE_NAMESPACE}.enable_push_notifications', __name__)
41-

openedx/core/djangoapps/notifications/tests/test_views.py

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -643,11 +643,20 @@ def setUp(self):
643643
"push": False,
644644
"email_cadence": "Daily",
645645
"info": ""
646+
},
647+
"ora_reminder": {
648+
"web": True,
649+
"email": True,
650+
"push": False,
651+
"email_cadence": "Daily",
652+
"info": "Reminder notifications for learners who have pending self or peer "
653+
"review steps in an ORA."
646654
}
647655

648656
},
649657
"non_editable": {
650658
"ora_grade_assigned": ["push"],
659+
"ora_reminder": ["push"],
651660
"ora_staff_notifications": ["push"]
652661
}
653662
},
@@ -801,10 +810,19 @@ def test_if_data_is_correctly_aggregated(self):
801810
"email_cadence": "Daily",
802811
"info": ""
803812
},
813+
"ora_reminder": {
814+
"web": False,
815+
"email": False,
816+
"push": False,
817+
"email_cadence": "Daily",
818+
"info": "Reminder notifications for learners who have pending self or peer "
819+
"review steps in an ORA."
820+
},
804821

805822
},
806823
"non_editable": {
807-
"ora_grade_assigned": ["push"]
824+
"ora_grade_assigned": ["push"],
825+
"ora_reminder": ["push"]
808826
}
809827
},
810828
}

0 commit comments

Comments
 (0)