Index: tests/t3lib/t3lib_pagerendererTest.php =================================================================== --- tests/t3lib/t3lib_pagerendererTest.php (revision 8060) +++ tests/t3lib/t3lib_pagerendererTest.php (working copy) @@ -153,19 +153,33 @@ } /** - * test add meta tag + * test add meta tags * */ - public function testAddMetaTag() { + public function testAddMetaTags() { - $expectedReturnValue = ''; - $this->fixture->addMetaTag(''); + $expectedReturnValues = array( + '', + '', + '', + '', + '', + '', + ); + $this->fixture->addMetaTag(''); + $this->fixture->addMetaTag('author', 'John Doe', array('lang' => 'en')); + $this->fixture->addMetaTag('robots', 'noindex'); + $this->fixture->addMetaTag('DC.format', 'text/html', array('scheme' => 'DCTERMS.IMT')); + $this->fixture->addMetaTagHttpEquiv('Content-Type', 'text/html; charset=utf-8'); + $this->fixture->addMetaTagHttpEquiv('refresh', '5; URL=http://www.example.org/'); $out = $this->fixture->render(); - $this->assertContains( - $expectedReturnValue, - $out - ); + foreach ($expectedReturnValues as $metaTag) { + $this->assertContains( + $metaTag, + $out,$out + ); + } } /**