Merge pull request #4962 from totten/master-angular-ts
[civicrm-core.git] / tests / phpunit / CRM / Core / ResourcesTest.php
index f91b84a03491b7cbb6f74241a0e2cd7124226bcd..02637ed86056467afd658f6298d04a82ab6b1114 100644 (file)
@@ -23,7 +23,7 @@
  | GNU Affero General Public License or the licensing of CiviCRM,     |
  | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
  +--------------------------------------------------------------------+
-*/
+ */
 
 require_once 'CiviTest/CiviUnitTestCase.php';
 
@@ -84,6 +84,9 @@ class CRM_Core_ResourcesTest extends CiviUnitTestCase {
    * }
    */
 
+  /**
+   * Ensure that adding a script URL creates expected markup.
+   */
   public function testAddScriptURL() {
     $this->res
       ->addScriptUrl('/whiz/foo%20bar.js', 0, 'testAddScriptURL')
@@ -122,10 +125,10 @@ class CRM_Core_ResourcesTest extends CiviUnitTestCase {
             'fruit' => array(
               'yours' => 'orange',
               'mine' => 'new apple',
-              'ours' => 'banana'
-            )
-          )
-        )
+              'ours' => 'banana',
+            ),
+          ),
+        ),
       ),
       $this->res->getSettings()
     );