diff --git a/tests/apps/courses/test_cms_plugins_organization.py b/tests/apps/courses/test_cms_plugins_organization.py
index 746a7aa17b..883b3658d4 100644
--- a/tests/apps/courses/test_cms_plugins_organization.py
+++ b/tests/apps/courses/test_cms_plugins_organization.py
@@ -101,7 +101,8 @@ def test_cms_plugins_organization_render_on_public_page(self):
self.assertIn(
(
'
'
+ 'title="Link to the organization page of public title" '
+ 'property="author" typeof="CollegeOrUniversity">'
),
htmlmin.minify(
response.content.decode("UTF-8"), remove_optional_attribute_quotes=False
@@ -129,7 +130,7 @@ def test_cms_plugins_organization_render_on_public_page(self):
url = page.get_absolute_url(language="fr")
response = self.client.get(url)
self.assertIn(
- ''
- ''
),
htmlmin.minify(
diff --git a/tests/apps/courses/test_cms_plugins_organizations_by_category.py b/tests/apps/courses/test_cms_plugins_organizations_by_category.py
index 228740d9b3..d56892e8b7 100644
--- a/tests/apps/courses/test_cms_plugins_organizations_by_category.py
+++ b/tests/apps/courses/test_cms_plugins_organizations_by_category.py
@@ -106,7 +106,7 @@ def test_cms_plugins_organizations_by_category_render_on_public_page(self):
# The organization's name should be present as a link to the cms page
# And CMS page title should be in title attribute of the link
self.assertIn(
- ''
- ''.format(
published_organization.extended_object.get_absolute_url(),
published_organization.extended_object.get_title(),
@@ -356,7 +356,7 @@ def test_templates_person_detail_cms_draft_content(self):
# The not published organization should not be on the page
self.assertIn(
# pylint: disable=consider-using-f-string
- ''.format(
not_published_organization.extended_object.get_absolute_url(),
not_published_organization.extended_object.get_title(),