From fba8528f004667191af9e9271671342264b0e4ed Mon Sep 17 00:00:00 2001
From: Demian Katz <demian.katz@villanova.edu>
Date: Wed, 15 May 2013 12:38:04 -0400
Subject: [PATCH] Fixed broken test.

---
 .../src/View/Helper/Root/ResultFeedTest.php         | 13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)

diff --git a/module/VuFind/tests/integration-tests/src/View/Helper/Root/ResultFeedTest.php b/module/VuFind/tests/integration-tests/src/View/Helper/Root/ResultFeedTest.php
index da4533821ba..4dcc545c81a 100644
--- a/module/VuFind/tests/integration-tests/src/View/Helper/Root/ResultFeedTest.php
+++ b/module/VuFind/tests/integration-tests/src/View/Helper/Root/ResultFeedTest.php
@@ -46,6 +46,10 @@ class ResultFeedTest extends \VuFindTest\Unit\ViewHelperTestCase
      */
     protected function getPlugins()
     {
+        $currentPath = $this->getMock('VuFind\View\Helper\Root\CurrentPath');
+        $currentPath->expects($this->any())->method('__invoke')
+            ->will($this->returnValue('/test/path'));
+
         $recordLink = $this->getMock(
             'VuFind\View\Helper\Root\RecordLink', array(),
             array(new \VuFind\Record\Router(
@@ -55,8 +59,15 @@ class ResultFeedTest extends \VuFindTest\Unit\ViewHelperTestCase
         );
         $recordLink->expects($this->any())->method('getUrl')
             ->will($this->returnValue('test/url'));
+
+        $serverUrl = $this->getMock('Zend\View\Helper\ServerUrl');
+        $serverUrl->expects($this->any())->method('__invoke')
+            ->will($this->returnValue('http://server/url'));
+
         return array(
-            'recordlink' => $recordLink
+            'currentpath' => $currentPath,
+            'recordlink' => $recordLink,
+            'serverurl' => $serverUrl
         );
     }
 
-- 
GitLab