Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge branch 'MDL-34756-23' of git://github.com/FMCorz/moodle into MO…

…ODLE_23_STABLE
  • Loading branch information...
commit 331d346e8f0bed92f2fb67baa6940538ddaacc1d 2 parents 8ee474b + 70746c4
@stronk7 stronk7 authored
View
12 lib/tests/backup_test.php → backup/util/helper/tests/cronhelper_test.php
@@ -15,9 +15,9 @@
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
- * Unit tests for backups.
+ * Unit tests for backups cron helper.
*
- * @package core
+ * @package core_backup
* @category phpunit
* @copyright 2012 Frédéric Massart <fred@moodle.com>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
@@ -29,12 +29,14 @@
require_once($CFG->dirroot . '/backup/util/helper/backup_cron_helper.class.php');
/**
- * Unit tests for backup system
+ * Unit tests for backup cron helper
*/
-class backup_testcase extends advanced_testcase {
+class backup_cron_helper_testcase extends advanced_testcase {
+ /**
+ * Test {@link backup_cron_automated_helper::calculate_next_automated_backup}.
+ */
public function test_next_automated_backup() {
-
$this->resetAfterTest();
set_config('backup_auto_active', '1', 'backup');
Please sign in to comment.
Something went wrong with that request. Please try again.