Merge remote-tracking branch 'upstream/4.6' into 4.6-master-2015-07-06-14-41-49
[civicrm-core.git] / tests / phpunit / CRM / Core / JobManagerTest.php
index 38db465c9491c84de6614c5a6e47bb4a2f7e845e..a097659e57b464cd79944003f5f32181ca6b95e8 100644 (file)
@@ -1,9 +1,9 @@
 <?php
 /*
  +--------------------------------------------------------------------+
-| CiviCRM version 4.5                                                |
+| CiviCRM version 4.6                                                |
 +--------------------------------------------------------------------+
-| Copyright CiviCRM LLC (c) 2004-2014                                |
+| Copyright CiviCRM LLC (c) 2004-2015                                |
 +--------------------------------------------------------------------+
 | This file is a part of CiviCRM.                                    |
 |                                                                    |
@@ -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';
 
 /**
@@ -31,11 +31,11 @@ require_once 'CiviTest/CiviUnitTestCase.php';
  */
 class CRM_Core_JobManagerTest extends CiviUnitTestCase {
 
-  function setUp() {
+  public function setUp() {
     parent::setUp();
   }
 
-  function testHookCron() {
+  public function testHookCron() {
     $hook = $this->getMock('stdClass', array('civicrm_cron'));
     $hook->expects($this->once())
       ->method('civicrm_cron')
@@ -45,4 +45,5 @@ class CRM_Core_JobManagerTest extends CiviUnitTestCase {
     $jobManager = new CRM_Core_JobManager();
     $jobManager->execute(FALSE);
   }
+
 }