X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=web%2Fmodules%2Fcontrib%2Fmetatag%2Ftests%2Fsrc%2FKernel%2FMetatagManagerTest.php;fp=web%2Fmodules%2Fcontrib%2Fmetatag%2Ftests%2Fsrc%2FKernel%2FMetatagManagerTest.php;h=4dcccdbb4ee4d863a81477265a49bf6494970c57;hp=119b09e8961f2436f05e8025f8412f5dd1bc02e0;hb=af6d1fb995500ae68849458ee10d66abbdcfb252;hpb=680c79a86e3ed402f263faeac92e89fb6d9edcc0 diff --git a/web/modules/contrib/metatag/tests/src/Kernel/MetatagManagerTest.php b/web/modules/contrib/metatag/tests/src/Kernel/MetatagManagerTest.php index 119b09e89..4dcccdbb4 100644 --- a/web/modules/contrib/metatag/tests/src/Kernel/MetatagManagerTest.php +++ b/web/modules/contrib/metatag/tests/src/Kernel/MetatagManagerTest.php @@ -33,38 +33,40 @@ class MetatagManagerTest extends KernelTestBase { ]); $expected = [ - '#attached' => ['html_head' => [ - [ + '#attached' => [ + 'html_head' => [ [ - '#tag'=> 'meta', - '#attributes' => [ - 'property' => 'og:image:url', - 'content' => 'http://www.example.com/example/foo.png', + [ + '#tag' => 'meta', + '#attributes' => [ + 'property' => 'og:image:url', + 'content' => 'http://www.example.com/example/foo.png', + ], ], + 'og_image_url', ], - 'og_image_url', - ], - [ [ - '#tag'=> 'meta', - '#attributes' => [ - 'property' => 'og:image:width', - 'content' => 100, + [ + '#tag' => 'meta', + '#attributes' => [ + 'property' => 'og:image:width', + 'content' => 100, + ], ], + 'og_image_width', ], - 'og_image_width', - ], - [ [ - '#tag'=> 'meta', - '#attributes' => [ - 'property' => 'og:image:height', - 'content' => 100, + [ + '#tag' => 'meta', + '#attributes' => [ + 'property' => 'og:image:height', + 'content' => 100, + ], ], + 'og_image_height', ], - 'og_image_height', ], - ]], + ], ]; $this->assertEquals($expected, $tags); }