diff --git a/tests/functional/openlp_core_ui/test_aboutform.py b/tests/functional/openlp_core_ui/test_aboutform.py index 1ce29e960..060876fbd 100644 --- a/tests/functional/openlp_core_ui/test_aboutform.py +++ b/tests/functional/openlp_core_ui/test_aboutform.py @@ -66,13 +66,13 @@ class TestFirstTimeForm(TestCase, TestMixin): """ Test that the copyright date is included correctly """ - # GIVEN: A mocked out get_application_version function + # GIVEN: A correct application date date_string = "2004-%s" % datetime.date.today().year # WHEN: The about form is created about_form = AboutForm(None) license_text = about_form.license_text_edit.toPlainText() - # THEN: The build number should be in the text + # THEN: The date should be in the text twice. self.assertTrue(license_text.count(date_string, 0) == 2, "The text string should be added twice to the license string")