Merge pull request #5536 from totten/4.5-httpclient
[civicrm-core.git] / tests / phpunit / api / v3 / ProductTest.php
index 26101bc05a8b1ae271dd17c1dffa1add59cf8bdd..bb7c6f81ccb45a26ffa88e242cd492f094480897 100644 (file)
@@ -3,7 +3,7 @@
  * +--------------------------------------------------------------------+
  * | CiviCRM version 4.6                                                |
  * +--------------------------------------------------------------------+
- * | Copyright CiviCRM LLC (c) 2004-2014                                |
+ * | Copyright CiviCRM LLC (c) 2004-2015                                |
  * +--------------------------------------------------------------------+
  * | This file is a part of CiviCRM.                                    |
  * |                                                                    |
@@ -44,10 +44,6 @@ class api_v3_ProductTest extends CiviUnitTestCase {
     );
   }
 
-  //  function tearDown() {
-  //    $this->quickCleanup(array('civicrm_product'), TRUE);
-  //  }
-
   public function testGetFields() {
     $fields = $this->callAPISuccess($this->_entity, 'getfields', array('action' => 'create'));
     $this->assertArrayHasKey('period_type', $fields['values']);
@@ -57,4 +53,5 @@ class api_v3_ProductTest extends CiviUnitTestCase {
     $options = $this->callAPISuccess($this->_entity, 'getoptions', array('field' => 'period_type'));
     $this->assertArrayHasKey('rolling', $options['values']);
   }
+
 }