add global init to test setUp

This commit is contained in:
Philipp Holzer 2020-09-11 20:14:47 +02:00
parent 5365186c6e
commit 1008f408c0
No known key found for this signature in database
GPG key ID: 9A28B7D4FF5667BD

View file

@ -50,6 +50,10 @@ class ApiTest extends FixtureTest
*/
protected function setUp()
{
global $API, $called_api;
$API = [];
$called_api = [];
parent::setUp();
/** @var IConfig $config */