add global init to test setUp
This commit is contained in:
parent
5365186c6e
commit
1008f408c0
|
@ -50,6 +50,10 @@ class ApiTest extends FixtureTest
|
||||||
*/
|
*/
|
||||||
protected function setUp()
|
protected function setUp()
|
||||||
{
|
{
|
||||||
|
global $API, $called_api;
|
||||||
|
$API = [];
|
||||||
|
$called_api = [];
|
||||||
|
|
||||||
parent::setUp();
|
parent::setUp();
|
||||||
|
|
||||||
/** @var IConfig $config */
|
/** @var IConfig $config */
|
||||||
|
|
Loading…
Reference in New Issue
Block a user