| @@ 66-74 (lines=9) @@ | ||
| 63 | ); |
|
| 64 | } |
|
| 65 | ||
| 66 | public function testRenderMetaMultipleAsSingleTag() |
|
| 67 | { |
|
| 68 | $this->tagBuilder->addMeta('keywords', MetaTag::NAME_TYPE, 'keywords', ['foo', 'bar'], false); |
|
| 69 | ||
| 70 | $this->assertEquals( |
|
| 71 | '<meta name="keywords" content="foo, bar" />', |
|
| 72 | $this->tagBuilder->render() |
|
| 73 | ); |
|
| 74 | } |
|
| 75 | ||
| 76 | public function testRenderMetaMultipleAsSeparateTags() |
|
| 77 | { |
|
| @@ 76-84 (lines=9) @@ | ||
| 73 | ); |
|
| 74 | } |
|
| 75 | ||
| 76 | public function testRenderMetaMultipleAsSeparateTags() |
|
| 77 | { |
|
| 78 | $this->tagBuilder->addMeta('keywords', MetaTag::NAME_TYPE, 'lang', ['en', 'nl']); |
|
| 79 | ||
| 80 | $this->assertEquals( |
|
| 81 | '<meta name="lang" content="en" /><meta name="lang" content="nl" />', |
|
| 82 | $this->tagBuilder->render() |
|
| 83 | ); |
|
| 84 | } |
|
| 85 | ||
| 86 | public function testRenderLink() |
|
| 87 | { |
|