Skip to content
This repository has been archived by the owner on Jan 31, 2020. It is now read-only.

Commit

Permalink
Added Unittest
Browse files Browse the repository at this point in the history
  • Loading branch information
FabianKoestring committed Jun 17, 2015
1 parent d881871 commit 22c2df9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/Helper/HeadLinkTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -445,4 +445,10 @@ public function testSizesAttributeIsSupported()
$this->helper->appendStylesheet(['rel' => 'icon', 'href' => '/bar/baz', 'sizes' => '123x456']);
$this->assertContains('sizes="123x456"', $this->helper->toString());
}

public function testItempropAttributeIsSupported()
{
$this->helper->prependAlternate(['itemprop' => 'url', 'href' => '/bar/baz', 'rel' => 'canonical']);
$this->assertContains('itemprop="url"', $this->helper->toString());
}
}

0 comments on commit 22c2df9

Please sign in to comment.