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

Workaround for broken tests.

parent adac3d96
No related merge requests found
...@@ -127,6 +127,7 @@ abstract class TestCase extends \PHPUnit_Framework_TestCase ...@@ -127,6 +127,7 @@ abstract class TestCase extends \PHPUnit_Framework_TestCase
); );
$serviceManager->setService('SearchManager', $this->searchManager); $serviceManager->setService('SearchManager', $this->searchManager);
$this->searchManager->setServiceLocator($serviceManager); $this->searchManager->setServiceLocator($serviceManager);
\VuFind\Connection\Manager::setServiceLocator($serviceManager);
} }
return $this->searchManager; return $this->searchManager;
} }
......
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