phpcs - Fix error, "Visibility must be declared on method"
[civicrm-core.git] / tests / phpunit / CRM / Contribute / BAO / ContributionTypeTest.php
index f1e09197a42d8b85c7af6341f05182d92189e9df..62a31dfb9f6425212cd55a790d6f19936aaef2e8 100644 (file)
@@ -32,19 +32,19 @@ require_once 'CiviTest/CiviUnitTestCase.php';
  */
 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,
@@ -64,7 +64,7 @@ class CRM_Contribute_BAO_ContributionTypeTest extends CiviUnitTestCase {
   /**
    * Check method retrive()
    */
-  function testRetrieve() {
+  public function testRetrieve() {
     $params = array(
       'name' => 'Donations',
       'is_deductible' => 0,
@@ -82,7 +82,7 @@ class CRM_Contribute_BAO_ContributionTypeTest extends CiviUnitTestCase {
   /**
    * Check method setIsActive()
    */
-  function testSetIsActive() {
+  public function testSetIsActive() {
     $params = array(
       'name' => 'Donations',
       'is_deductible' => 0,
@@ -103,7 +103,7 @@ class CRM_Contribute_BAO_ContributionTypeTest extends CiviUnitTestCase {
   /**
    * Check method del()
    */
-  function testdel() {
+  public function testdel() {
     $params = array(
       'name' => 'Donations',
       'is_deductible' => 0,