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

Fixed broken test.

parent 6dce2802
......@@ -46,7 +46,10 @@ class ResultFeedTest extends \VuFindTest\Unit\ViewHelperTestCase
*/
protected function getPlugins()
{
$recordLink = $this->getMock('VuFind\View\Helper\Root\RecordLink');
$recordLink = $this->getMock(
'VuFind\View\Helper\Root\RecordLink', array(),
array(new \VuFind\Record\Router(new \VuFind\Record\Loader()))
);
$recordLink->expects($this->any())->method('getUrl')
->will($this->returnValue('test/url'));
return array(
......
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