The Gitlab instance will be restarted on Monday April 28th at 2AM. There will be a short interruption of service.

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

Make test more future-proof.

parent 57010471
No related merge requests found
...@@ -298,7 +298,7 @@ class OpenUrlTest extends \VuFindTest\Unit\ViewHelperTestCase ...@@ -298,7 +298,7 @@ class OpenUrlTest extends \VuFindTest\Unit\ViewHelperTestCase
$mockContext = $this->getMockContext(); $mockContext = $this->getMockContext();
} }
$mockPm = $this->getMockBuilder('VuFind\Resolver\Driver\PluginManager') $mockPm = $this->getMockBuilder('VuFind\Resolver\Driver\PluginManager')
->getMock(); ->disableOriginalConstructor()->getMock();
$openUrl = new OpenUrl($mockContext, $rules, $mockPm, new Config($config)); $openUrl = new OpenUrl($mockContext, $rules, $mockPm, new Config($config));
$openUrl->setView($this->getPhpRenderer()); $openUrl->setView($this->getPhpRenderer());
return $openUrl; return $openUrl;
......
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