class api_v3_CustomSearchTest extends CiviUnitTestCase {
protected $_apiversion;
- function setUp() {
+ public function setUp() {
$this->_apiversion = 3;
parent::setUp();
+ $this->useTransaction(TRUE);
}
- function tearDown() {}
-
public function testCustomSearch() {
$result = $this->callAPISuccess('CustomSearch', 'create', array(
'label' => 'Invalid, overwritten',
OR label = "CRM_Contact_Form_Search_Custom_Examplez"
');
}
+
}