File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed
Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -76,11 +76,9 @@ def test_organization_jsonld_structure(self):
7676 def test_organization_jsonld_logo_url (self ):
7777 """Test that Organization JSON-LD includes correct logo URL."""
7878 org_data = self ._get_organization_jsonld ()
79- logo_url = org_data ["logo" ]
80-
81- # Test that logo URL is correct
82- self .assertEqual (logo_url , "https://torchbox.com/android-chrome-512x512.png" )
83- self .assertTrue (logo_url .startswith ("https://" ), "Logo URL should be HTTPS" )
79+ self .assertEqual (
80+ org_data ["logo" ], "https://torchbox.com/android-chrome-512x512.png"
81+ )
8482
8583
8684class TestJSONLDTemplateInclusion (WagtailPageTestCase ):
@@ -115,7 +113,7 @@ def _get_organization_jsonld(self):
115113 def test_base_template_includes_jsonld_block (self ):
116114 """Test that the base template includes the extra_jsonld block."""
117115 org_data = self ._get_organization_jsonld ()
118- self .assertEqual (org_data ["@type " ], "Organization " )
116+ self .assertEqual (org_data ["name " ], "Torchbox " )
119117
120118 def test_breadcrumb_template_included (self ):
121119 """Test that breadcrumb JSON-LD template is included."""
You can’t perform that action at this time.
0 commit comments