diff --git a/tests/legacy/ApiTest.php b/tests/legacy/ApiTest.php index 101356e52e..ddeb40192a 100644 --- a/tests/legacy/ApiTest.php +++ b/tests/legacy/ApiTest.php @@ -50,6 +50,10 @@ class ApiTest extends FixtureTest */ protected function setUp() { + global $API, $called_api; + $API = []; + $called_api = []; + parent::setUp(); /** @var IConfig $config */