Merge pull request #7797 from JKingsnorth/CRM-17977
[civicrm-core.git] / tests / phpunit / api / v3 / PriceFieldValueTest.php
index 1f03648cab176c0d3bbd071e71c831626d692283..1e267d76d444c27e2d9fb3b7ba327d22aa3e47bf 100644 (file)
@@ -3,7 +3,7 @@
  +--------------------------------------------------------------------+
 | CiviCRM version 4.7                                                |
 +--------------------------------------------------------------------+
-| Copyright CiviCRM LLC (c) 2004-2015                                |
+| Copyright CiviCRM LLC (c) 2004-2016                                |
 +--------------------------------------------------------------------+
 | This file is a part of CiviCRM.                                    |
 |                                                                    |
 +--------------------------------------------------------------------+
  */
 
-require_once 'CiviTest/CiviUnitTestCase.php';
-
 /**
  * Class api_v3_PriceFieldValueTest
+ * @group headless
  */
 class api_v3_PriceFieldValueTest extends CiviUnitTestCase {
   protected $_apiversion = 3;
@@ -80,6 +79,7 @@ class api_v3_PriceFieldValueTest extends CiviUnitTestCase {
       'name' => 'rye grass',
       'label' => 'juicy and healthy',
       'amount' => 1,
+      'financial_type_id' => 1,
     );
 
     $membershipOrgId = $this->organizationCreate(NULL);