Skip to content
Snippets Groups Projects
Commit fae544f8 authored by Laurent's avatar Laurent
Browse files

rel #50182 : try to fixture koha service

parent 17f27090
Branches
Tags
4 merge requests!2080Sandbox detach zf from storm,!2061Master,!1975Master,!1972Dev#50182 1055 seaside meilleur reporting poker 1 generation du rapport html dans bokeh json
Pipeline #102 passed with stage
in 8 minutes and 22 seconds
......@@ -111,7 +111,6 @@ abstract class ZendAfi_View_Helper_Status_TestCase extends ViewHelperTestCase {
protected function _setupILS() {
$this->fixture('Class_IntBib',
['id' => 5,
'comm_params' => ['url_serveur' => 'http://localhost/koha'],
......@@ -172,6 +171,14 @@ abstract class ZendAfi_View_Helper_Status_TestCase extends ViewHelperTestCase {
$this->_setupVars();
$time_source = new TimeSourceForTest('2016-12-05 11:00:00');
Class_Systeme_Report::setTimeSource($time_source);
$this->old_http_client = Zend_Registry::get('httpClient');
Zend_Registry::set('httpClient', $this->mock());
}
public function tearDown() {
Zend_Registry::set('httpClient', $this->old_http_client);
parent::tearDown();
}
}
?>
\ No newline at end of file
}
\ No newline at end of file
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