Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
euromark committed Dec 9, 2014
1 parent f63d955 commit 1e6876b
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions lib/Cake/Test/Case/View/Helper/PaginatorHelperTest.php
Expand Up @@ -1009,20 +1009,16 @@ public function testPagingLinks() {
$result = $this->Paginator->prev('<i class="fa fa-angle-left"></i>', array('escape' => false), null, array('class' => 'prev disabled'));
$expected = array(
'span' => array('class' => 'prev disabled'),
'a' => array('href' => '/', 'rel' => 'prev'),
'i' => array('class' => 'fa fa-angle-left'),
'/i',
'/a',
'/span'
);
$this->assertTags($result, $expected);

$result = $this->Paginator->prev('<i class="fa fa-angle-left"></i>', array('escape' => false), null, array('escape' => true));
$expected = array(
'span' => array('class' => 'prev'),
'a' => array('href' => '/', 'rel' => 'prev'),
'&lt;i class=&quot;fa fa-angle-left&quot;&gt;&lt;/i&gt;',
'/a',
'/span'
);
$this->assertTags($result, $expected);
Expand Down

0 comments on commit 1e6876b

Please sign in to comment.