Sets the default title tag.
public setTitleDefault ( string $default ) : Artesaos\SEOTools\Contracts\MetaTags | ||
$default | string | |
return | Artesaos\SEOTools\Contracts\MetaTags |
public function test_set_default_title() { $fullTitle = 'Kamehamehaaaaaaaa'; $fullHeader = '<title>' . $fullTitle . '</title>'; $fullHeader .= "<meta name=\"description\" content=\"For those who helped create the Genki Dama\">"; $this->seoMeta->setTitleDefault($fullTitle); $this->assertEquals($fullTitle, $this->seoMeta->getDefaultTitle()); $this->setRightAssertion($fullHeader); }