add missing comments - tests directory
[civicrm-core.git] / tests / phpunit / api / v3 / CustomGroupTest.php
index 2f9138bab7adf7f74079ed7a8aec6e281abeaacd..ae0d5d7effbfbc37461cd7d0601a3e30a7f55841 100644 (file)
@@ -1,9 +1,9 @@
 <?php
 /*
  +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
+ | CiviCRM version 4.5                                                |
  +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
+ | Copyright CiviCRM LLC (c) 2004-2014                                |
  +--------------------------------------------------------------------+
  | This file is a part of CiviCRM.                                    |
  |                                                                    |
@@ -39,9 +39,12 @@ class api_v3_CustomGroupTest extends CiviUnitTestCase {
   protected $_apiversion = 3;
   protected $_entity;
   protected $_params;
-  public $_eNoticeCompliant = TRUE;
+
   public $DBResetRequired = TRUE;
 
+  /**
+   * @return array
+   */
   function get_info() {
     return array(
       'name' => 'Custom Group Create',
@@ -174,13 +177,14 @@ class api_v3_CustomGroupTest extends CiviUnitTestCase {
    */
   function testCustomGroupGetFields() {
     $params = array(
-        'options' => array('get_options' => 'style'),
+      'options' => array('get_options' => 'style'),
     );
 
     $result = $this->callAPISuccess('custom_group', 'getfields', $params);
     $expected = array(
       'Tab' => 'Tab',
       'Inline' => 'Inline',
+      'Tab with table' => 'Tab with table',
     );
     $this->assertEquals($expected, $result['values']['style']['options']);
   }