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

rel #50182 : try to fixture koha service

parent 1f9c2056
Branches
Tags 8.0.20
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 #99 failed with stage
in 8 minutes and 7 seconds
...@@ -131,9 +131,11 @@ class ZendAfi_View_Helper_Status_JsonTest extends ZendAfi_View_Helper_Status_Tes ...@@ -131,9 +131,11 @@ class ZendAfi_View_Helper_Status_JsonTest extends ZendAfi_View_Helper_Status_Tes
'url' => 'http://localhost/koha', 'url' => 'http://localhost/koha',
'communication_status' => 'error', 'communication_status' => 'error',
], ],
$this->_report['ils'][0]); $this->_report['ils'][0],
Class_IntBib::find(5)->getSigbComm()->test());
} }
/** @test */ /** @test */
public function sixILSShouldBeNanookOnError() { public function sixILSShouldBeNanookOnError() {
$this->assertEquals(['type' => 'nanook', $this->assertEquals(['type' => 'nanook',
...@@ -143,6 +145,7 @@ class ZendAfi_View_Helper_Status_JsonTest extends ZendAfi_View_Helper_Status_Tes ...@@ -143,6 +145,7 @@ class ZendAfi_View_Helper_Status_JsonTest extends ZendAfi_View_Helper_Status_Tes
$this->_report['ils'][1]); $this->_report['ils'][1]);
} }
/** @test */ /** @test */
public function ArteVodShouldEnabled() { public function ArteVodShouldEnabled() {
$this->assertContains(["code" => "ARTEVOD", $this->assertContains(["code" => "ARTEVOD",
......
...@@ -111,7 +111,7 @@ abstract class ZendAfi_View_Helper_Status_TestCase extends ViewHelperTestCase { ...@@ -111,7 +111,7 @@ abstract class ZendAfi_View_Helper_Status_TestCase extends ViewHelperTestCase {
protected function _setupILS() { protected function _setupILS() {
Class_WebService_SIGB_Koha::reset();
$this->fixture('Class_IntBib', $this->fixture('Class_IntBib',
['id' => 5, ['id' => 5,
'comm_params' => ['url_serveur' => 'http://localhost/koha'], 'comm_params' => ['url_serveur' => 'http://localhost/koha'],
......
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