Skip to content

Commit

Permalink
Remove prev/next in 1.8
Browse files Browse the repository at this point in the history
  • Loading branch information
olape-git committed Apr 25, 2024
1 parent eec2b5f commit bfa58eb
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions tests/unit/HeadTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -157,8 +157,10 @@ public function testDoesNotRenderMetaGenerator()
* Tests that the prev link is rendered.
*
* @return void
* remove for 1.8
* https://github.com/cmsimple-xh/cmsimple-xh/issues/285
*/
public function testRendersPrevLink()
/*public function testRendersPrevLink()
{
$this->titleMock->expects($this->any())->willReturn("");
$findPreviousPageMock = $this->createFunctionMock('XH_findPreviousPage');
Expand All @@ -171,14 +173,16 @@ public function testRendersPrevLink()
);
$getPageUrlMock->restore();
$findPreviousPageMock->restore();
}
}*/

/**
* Tests that the next page link is rendered.
*
* @return void
* remove for 1.8
* https://github.com/cmsimple-xh/cmsimple-xh/issues/285
*/
public function testRendersNextLink()
/*public function testRendersNextLink()
{
$this->titleMock->expects($this->any())->willReturn("");
$findNextPageMock = $this->createFunctionMock('XH_findNextPage');
Expand All @@ -191,7 +195,7 @@ public function testRendersNextLink()
);
$getPageUrlMock->restore();
$findNextPageMock->restore();
}
}*/

/**
* Tests that the template stylesheet link element is rendered.
Expand Down

0 comments on commit bfa58eb

Please sign in to comment.