mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Fix tests
This commit is contained in:
parent
f63d955f73
commit
1e6876b627
1 changed files with 0 additions and 4 deletions
|
@ -1009,10 +1009,8 @@ class PaginatorHelperTest extends CakeTestCase {
|
|||
$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);
|
||||
|
@ -1020,9 +1018,7 @@ class PaginatorHelperTest extends CakeTestCase {
|
|||
$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'),
|
||||
'<i class="fa fa-angle-left"></i>',
|
||||
'/a',
|
||||
'/span'
|
||||
);
|
||||
$this->assertTags($result, $expected);
|
||||
|
|
Loading…
Reference in a new issue