*/
class CRM_Activity_BAO_ActivityAssignmentTest extends CiviUnitTestCase {
- /**
- * Sets up the fixture, for example, opens a network connection.
- * This method is called before a test is executed.
- */
- protected function setUp() {
- parent::setUp();
- }
-
- /**
- * Tears down the fixture, for example, closes a network connection.
- * This method is called after a test is executed.
- */
- protected function tearDown() {
- }
-
/**
* Pass zero as an id and make sure no Assignees are retrieved.
*/
*/
class CRM_Activity_BAO_ActivityTargetTest extends CiviUnitTestCase {
- /**
- * Sets up the fixture, for example, opens a network connection.
- * This method is called before a test is executed.
- */
- protected function setUp() {
- parent::setUp();
- }
-
- /**
- * Tears down the fixture, for example, closes a network connection.
- *
- * This method is called after a test is executed.
- */
- protected function tearDown() {
- }
-
public function testRetrieveTargetIdsByActivityIdZeroID() {
$this->activityCreate();
$target = CRM_Activity_BAO_ActivityTarget::retrieveTargetIdsByActivityId(0);
*/
class CRM_Contact_BAO_GroupContactTest extends CiviUnitTestCase {
- /**
- * Sets up the fixture, for example, opens a network connection.
- * This method is called before a test is executed.
- */
- protected function setUp() {
- parent::setUp();
- }
-
- /**
- * Tears down the fixture, for example, closes a network connection.
- *
- * This method is called after a test is executed.
- */
- protected function tearDown() {
- }
-
/**
* Test case for add( ).
*/
return new CRM_Contact_Form_Search_Custom_GroupTestDataProvider();
}
- public function setUp() {
- parent::setUp();
- }
-
- public function tearDown() {
- }
-
/**
* Test CRM_Contact_Form_Search_Custom_Group::count()
* @dataProvider dataProvider
*/
class CRM_Contact_Form_Search_Custom_PriceSetTest extends CiviUnitTestCase {
- public function setUp() {
- parent::setUp();
- }
-
- public function tearDown() {
- }
-
public function testRunSearch() {
$order = $this->callAPISuccess('Order', 'create', $this->getParticipantOrderParams());
$this->callAPISuccess('Payment', 'create', [
return new CRM_Contact_Form_Search_Custom_SampleTestDataProvider();
}
- public function setUp() {
- parent::setUp();
- }
-
- public function tearDown() {
- }
-
/**
* Test CRM_Contact_Form_Search_Custom_Sample::count()
* @dataProvider dataProvider
*/
class CRM_Contribute_BAO_ContributionPageTest extends CiviUnitTestCase {
- public function setUp() {
+ public function setUp(): void {
parent::setUp();
$this->_financialTypeID = 1;
}
- public function tearDown() {
- }
-
/**
* Create() method (create Contribution Page)
*/
*/
class CRM_Core_BAO_RecurringEntityTest extends CiviUnitTestCase {
- /**
- * Sets up the fixture, for example, opens a network connection.
- * This method is called before a test is executed.
- */
- protected function setUp() {
- parent::setUp();
- }
-
- /**
- * Tears down the fixture, for example, closes a network connection.
- * This method is called after a test is executed.
- */
- protected function tearDown() {
- }
-
/**
* Testing Activity Generation through Entity Recursion.
*/