Merge pull request #5536 from totten/4.5-httpclient
[civicrm-core.git] / tests / phpunit / api / v3 / DomainTest.php
index 3015a068e068b3eee1d356ac64954e25622d24b8..f83f96a3ce7e8dd863661d3eae3b2a282fbd990e 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.                                    |
  |                                                                    |
@@ -46,6 +46,7 @@ class api_v3_DomainTest extends CiviUnitTestCase {
 
   /**
    * Sets up the fixture, for example, opens a network connection.
+   *
    * This method is called before a test is executed.
    */
   protected function setUp() {
@@ -90,10 +91,10 @@ class api_v3_DomainTest extends CiviUnitTestCase {
     );
   }
 
-  ///////////////// civicrm_domain_get methods
-
   /**
-   * Test civicrm_domain_get. Takes no params.
+   * Test civicrm_domain_get.
+   *
+   * Takes no params.
    * Testing mainly for format.
    */
   public function testGet() {
@@ -173,10 +174,11 @@ class api_v3_DomainTest extends CiviUnitTestCase {
 
   /**
    * Test civicrm_domain_create with empty params.
+   *
    * Error expected.
    */
   public function testCreateWithEmptyParams() {
-    $result = $this->callAPIFailure('domain', 'create', array());
+    $this->callAPIFailure('domain', 'create', array());
   }
 
 }