diff options
Diffstat (limited to 'tests/unit/controller')
-rw-r--r-- | tests/unit/controller/PageControllerTest.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/controller/PageControllerTest.php b/tests/unit/controller/PageControllerTest.php index 47c85fdd9..3277fdc43 100644 --- a/tests/unit/controller/PageControllerTest.php +++ b/tests/unit/controller/PageControllerTest.php @@ -166,8 +166,8 @@ class PageControllerTest extends \PHPUnit_Framework_TestCase { ->method('getExploreUrl') ->will($this->returnValue(' ')); $this->urlGenerator->expects($this->once()) - ->method('getAbsoluteURL') - ->with($this->equalTo('/index.php/apps/news/explore')) + ->method('linkToRoute') + ->with($this->equalTo('news.page.explore')) ->will($this->returnValue('test')); |