blob: 41fe7281c1a69c4715032a2d5f64f18e769c81d5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
<?php
namespace Civi\Test\Api4\Action;
use Civi\Test\Api4\UnitTestCase;
use Civi\Test\Api4\Traits\TableDropperTrait;
abstract class BaseCustomValueTest extends UnitTestCase {
use \Civi\Test\Api4\Traits\OptionCleanupTrait {
setUp as setUpOptionCleanup;
}
use TableDropperTrait;
/**
* Set up baseline for testing
*/
public function setUp() {
$this->setUpOptionCleanup();
$cleanup_params = [
'tablesToTruncate' => [
'civicrm_custom_group',
'civicrm_custom_field',
],
];
$this->dropByPrefix('civicrm_value_mycontact');
$this->cleanup($cleanup_params);
}
}
|