Skip to content
Snippets Groups Projects
Commit e47eab2f authored by Demian Katz's avatar Demian Katz
Browse files

Fixed broken test.

parent d5dada10
No related merge requests found
...@@ -48,7 +48,9 @@ class ResultFeedTest extends \VuFindTest\Unit\ViewHelperTestCase ...@@ -48,7 +48,9 @@ class ResultFeedTest extends \VuFindTest\Unit\ViewHelperTestCase
{ {
$recordLink = $this->getMock( $recordLink = $this->getMock(
'VuFind\View\Helper\Root\RecordLink', array(), 'VuFind\View\Helper\Root\RecordLink', array(),
array(new \VuFind\Record\Router(new \VuFind\Record\Loader())) array(new \VuFind\Record\Router(
new \VuFind\Record\Loader(), new \Zend\Config\Config(array()))
)
); );
$recordLink->expects($this->any())->method('getUrl') $recordLink->expects($this->any())->method('getUrl')
->will($this->returnValue('test/url')); ->will($this->returnValue('test/url'));
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment