diff --git a/src/Validate/Context.php b/src/Validate/Context.php index 646f3296..d0f3cc47 100644 --- a/src/Validate/Context.php +++ b/src/Validate/Context.php @@ -98,6 +98,7 @@ class Context 'amp-vimeo' => 'https://cdn.ampproject.org/v0/amp-vimeo-0.1.js', 'amp-youtube' => 'https://cdn.ampproject.org/v0/amp-youtube-0.1.js', 'amp-sidebar' => 'https://cdn.ampproject.org/v0/amp-sidebar-0.1.js', + 'amp-accordion' => 'https://cdn.ampproject.org/v0/amp-accordion-0.1.js', 'template' => 'https://cdn.ampproject.org/v0/amp-mustache-0.1.js' ]; diff --git a/tests/test-data/full-html/validator-amp-accordion.html.out b/tests/test-data/full-html/validator-amp-accordion.html.out index 5801a4fc..5c4516d3 100644 --- a/tests/test-data/full-html/validator-amp-accordion.html.out +++ b/tests/test-data/full-html/validator-amp-accordion.html.out @@ -166,4 +166,5 @@ FAIL COMPONENT NAMES WITH JS PATH ------------------------------ -No custom amp script includes required +'amp-accordion', include path 'https://cdn.ampproject.org/v0/amp-accordion-0.1.js' + diff --git a/tests/test-data/full-html/validator-amp-sidebar.html.out b/tests/test-data/full-html/validator-amp-sidebar.html.out index a103d11a..d0e4f3ac 100644 --- a/tests/test-data/full-html/validator-amp-sidebar.html.out +++ b/tests/test-data/full-html/validator-amp-sidebar.html.out @@ -137,5 +137,6 @@ FAIL COMPONENT NAMES WITH JS PATH ------------------------------ 'amp-sidebar', include path 'https://cdn.ampproject.org/v0/amp-sidebar-0.1.js' +'amp-accordion', include path 'https://cdn.ampproject.org/v0/amp-accordion-0.1.js' 'amp-fit-text', include path 'https://cdn.ampproject.org/v0/amp-fit-text-0.1.js'