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
$mockContext = $this->getMockContext();
}
$mockPm = $this->getMockBuilder('VuFind\Resolver\Driver\PluginManager')
->getMock();
->disableOriginalConstructor()->getMock();
$openUrl = new OpenUrl($mockContext, $rules, $mockPm, new Config($config));
$openUrl->setView($this->getPhpRenderer());
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