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()
|
||||
{
|
||||
global $API, $called_api;
|
||||
$API = [];
|
||||
$called_api = [];
|
||||
|
||||
parent::setUp();
|
||||
|
||||
/** @var IConfig $config */
|
||||
|
|
Loading…
Reference in a new issue