Skip to content
Permalink
Browse files

Add test for Html->meta()

Add test for previously uncovered use cases.

Refs #7616
  • Loading branch information...
markstory committed Oct 30, 2015
1 parent e32c5b2 commit a448f49c89a6c430c5a99dd44a252e65eaa01b20
Showing with 6 additions and 0 deletions.
  1. +6 −0 tests/TestCase/View/Helper/HtmlHelperTest.php
@@ -1621,6 +1621,12 @@ public function testMeta()
'meta' => ['property' => 'og:site_name', 'content' => 'CakePHP']
];
$this->assertHtml($expected, $result);
$result = $this->Html->meta(['link' => 'http://example.com/manifest', 'rel' => 'manifest']);
$expected = [
'link' => ['href' => 'http://example.com/manifest', 'rel' => 'manifest']
];
$this->assertHtml($expected, $result);
}
/**

0 comments on commit a448f49

Please sign in to comment.
You can’t perform that action at this time.