+--------------------------------------------------------------------+
| CiviCRM version 4.6 |
+--------------------------------------------------------------------+
-| Copyright CiviCRM LLC (c) 2004-2014 |
+| Copyright CiviCRM LLC (c) 2004-2015 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
| 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';
/**
*/
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')
$jobManager = new CRM_Core_JobManager();
$jobManager->execute(FALSE);
}
+
}