Merge branch 'planningcenter-test-fix' into 'master'

Fixing PlanningCenter's plugin test

See merge request openlp/openlp!510
This commit is contained in:
Raoul Snyman 2022-11-28 18:14:35 +00:00
commit 25b01b0bd4
1 changed files with 2 additions and 2 deletions

View File

@ -111,8 +111,8 @@ class TestSelectPlanForm(TestCase, TestMixin):
'The service_type_combo_box defaults to "gbf"')
# the selected plan is today (the mocked date is a Sunday). Set to lowercase beacuse in some locales
# months is not capitalized.
self.assertEqual(self.form.plan_selection_combo_box.currentText().lower(),
date.strftime(mock_date.today.return_value, '%B %d, %Y').lower(),
self.assertEqual(self.form.plan_selection_combo_box.currentText(),
'September 29, 2019',
'Incorrect default date selected for Plan Date')
# count the number of themes listed and make sure it matches expected value
self.assertEqual(self.form.song_theme_selection_combo_box.count(),