planningcenter test fix due to locale differences

This commit is contained in:
Mateus Meyer Jiacomelli 2022-11-23 13:23:21 -03:00
parent cbd79faa40
commit 6ceccf01cb
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(),