Skip to content
Snippets Groups Projects
Commit 59c1dcb4 authored by Eileen McNaughton's avatar Eileen McNaughton
Browse files

Test cleanup fix

parent e35e6126
No related branches found
No related tags found
No related merge requests found
......@@ -29,6 +29,7 @@
use Civi\Api4\Contribution;
use Civi\Api4\CustomField;
use Civi\Api4\CustomGroup;
use Civi\Api4\FinancialType;
use Civi\Api4\LineItem;
use Civi\Api4\OptionGroup;
use Civi\Api4\RelationshipType;
......@@ -1926,6 +1927,9 @@ class CiviUnitTestCase extends PHPUnit\Framework\TestCase {
$this->restoreDefaultPriceSetConfig();
$this->disableTaxAndInvoicing();
$this->setCurrencySeparators(',');
FinancialType::delete(FALSE)->addWhere(
'name', 'NOT IN', ['Donation' , 'Member Dues', 'Campaign Contribution', 'Event Fee']
)->execute();
CRM_Core_PseudoConstant::flush('taxRates');
System::singleton()->flushProcessors();
// @fixme this parameter is leaking - it should not be defined as a class static
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment