diff --git a/templates/index.html b/templates/index.html index 4447059..fbf590f 100644 --- a/templates/index.html +++ b/templates/index.html @@ -49,86 +49,6 @@ "image": "https://{{ site_domain }}/static/icons/android-chrome-512x512.png" } - {% endif %} {% endblock %} diff --git a/tests/integration.rs b/tests/integration.rs index 07f73c0..2b76f22 100644 --- a/tests/integration.rs +++ b/tests/integration.rs @@ -1138,21 +1138,13 @@ async fn html_contains_jsonld_on_landing_page() { "landing page should contain WebApplication JSON-LD" ); assert!( - body.contains("\"@type\": \"FAQPage\""), - "landing page should contain FAQPage JSON-LD" + !body.contains("\"@type\": \"FAQPage\""), + "landing page should not contain FAQPage JSON-LD" ); assert!( body.contains("\"applicationCategory\": \"UtilitiesApplication\""), "WebApplication should have applicationCategory" ); - assert!( - body.contains("\"@type\": \"Question\""), - "FAQPage should contain Question entities" - ); - assert!( - body.contains("\"@type\": \"Answer\""), - "FAQPage should contain Answer entities" - ); } #[tokio::test]