From bfa58ebed21030e19dd92a20ee51b47b5dca30bb Mon Sep 17 00:00:00 2001 From: Olaf Penschke <35469568+olape-git@users.noreply.github.com> Date: Thu, 25 Apr 2024 08:12:13 +0200 Subject: [PATCH] Remove prev/next in 1.8 --- tests/unit/HeadTest.php | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/tests/unit/HeadTest.php b/tests/unit/HeadTest.php index d66dbc75..73302a90 100644 --- a/tests/unit/HeadTest.php +++ b/tests/unit/HeadTest.php @@ -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'); @@ -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'); @@ -191,7 +195,7 @@ public function testRendersNextLink() ); $getPageUrlMock->restore(); $findNextPageMock->restore(); - } + }*/ /** * Tests that the template stylesheet link element is rendered.