Skip to content
Snippets Groups Projects
Commit 5a20d720 authored by Patrick Barroca's avatar Patrick Barroca :grin:
Browse files

rel #27067 : forgotten parent::setUp()

parent 6453927d
3 merge requests!1132Hotline#29412 images des articles dans le resultat de recherche,!1016Dev#27067 koha restful suggestion service,!1004Dev#27067 koha restful suggestion service
......@@ -24,6 +24,7 @@ class KohaGetServiceTest extends ModelTestCase {
protected $_storm_default_to_volatile = true;
public function setUp() {
parent::setUp();
Class_WebService_SIGB_Koha::reset();
Class_AdminVar::newInstanceWithId('KOHA_MULTI_SITES', ['valeur' => '' ]);
$this->service = Class_WebService_SIGB_Koha::getService(['url_serveur' => 'http://cat-aficg55.biblibre.com/cgi-bin/koha/ilsdi.pl']);
......@@ -76,6 +77,7 @@ abstract class KohaTestCase extends ModelTestCase {
protected $service;
public function setUp() {
parent::setUp();
Class_Profil::setCurrentProfil($this->fixture('Class_Profil',
['id' => 1,
'libelle' => 'Actu']));
......
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