unitTestsAreRunning = true; parent::setUp(); $this->clearDbState(); // Create new class $this->index = $this->initBaseClassObjectBySiteMapId(SiteMap::PUB_INDEX); } protected function tearDown(): void { $this->clearDbState(); parent::tearDown(); } protected function clearDbState(): void { $this->resetGetAndPost(); $this->reloadDbTables( [ 'mod_account_manager', 'mod_articles_files', 'mod_users_subscription_mails', 'mod_account_manager', 'mod_account_permissions', 'mod_account_to_bills', 'mod_account_to_create', 'mod_account_to_users', ] ); } }