*/
class CRM_Contribute_BAO_ContributionTypeTest extends CiviUnitTestCase {
- function setUp() {
+ public function setUp() {
parent::setUp();
$this->organizationCreate();
}
- function teardown() {
+ public function teardown() {
$this->financialAccountDelete('Donations');
}
/**
* Check method add()
*/
- function testAdd() {
+ public function testAdd() {
$params = array(
'name' => 'Donations',
'is_deductible' => 0,
/**
* Check method retrive()
*/
- function testRetrieve() {
+ public function testRetrieve() {
$params = array(
'name' => 'Donations',
'is_deductible' => 0,
/**
* Check method setIsActive()
*/
- function testSetIsActive() {
+ public function testSetIsActive() {
$params = array(
'name' => 'Donations',
'is_deductible' => 0,
/**
* Check method del()
*/
- function testdel() {
+ public function testdel() {
$params = array(
'name' => 'Donations',
'is_deductible' => 0,