X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=web%2Fmodules%2Fcontrib%2Fmetatag%2Fmetatag_mobile%2Fsrc%2FTests%2FMetatagMobileTagsTest.php;h=4287449624f4eb5f8c75df9b25b4289cc7f6034b;hp=0baaeeb606eca908d3563ef0dcd2dac8f2b28222;hb=059867c3f96750652c80f39e44c442a58c2549ee;hpb=f8fc16ae6b862bef59baaad5d051dd37b7ff11b2 diff --git a/web/modules/contrib/metatag/metatag_mobile/src/Tests/MetatagMobileTagsTest.php b/web/modules/contrib/metatag/metatag_mobile/src/Tests/MetatagMobileTagsTest.php index 0baaeeb60..428744962 100644 --- a/web/modules/contrib/metatag/metatag_mobile/src/Tests/MetatagMobileTagsTest.php +++ b/web/modules/contrib/metatag/metatag_mobile/src/Tests/MetatagMobileTagsTest.php @@ -46,6 +46,7 @@ class MetatagMobileTagsTest extends MetatagTagsTestBase { 'msapplication_window', 'theme_color', 'viewport', + 'web_manifest', 'x_ua_compatible', ]; @@ -114,8 +115,9 @@ class MetatagMobileTagsTest extends MetatagTagsTestBase { } /** - * Implements {tag_name}TestValueAttribute() for - * 'android-app-link-alternative'. + * Implements {tag_name}TestValueAttribute(). + * + * For 'android-app-link-alternative'. */ private function androidAppLinkAlternativeTestValueAttribute() { return 'href'; @@ -212,6 +214,20 @@ class MetatagMobileTagsTest extends MetatagTagsTestBase { return $this->randomImageUrl(); } + /** + * Implements {tag_name}TestOutputXpath() for 'web_manifest'. + */ + private function webManifestTestOutputXpath() { + return "//link[@rel='manifest']"; + } + + /** + * Implements {tag_name}TestValueAttribute() for 'web_manifest'. + */ + private function webManifestTestValueAttribute() { + return 'href'; + } + /** * Implements {tag_name}TestNameAttribute() for 'x-ua-compatible'. */