From 090f09770bc06a42fed6c4330dcadb505f677cb3 Mon Sep 17 00:00:00 2001 From: Dan Marsden Date: Mon, 18 Oct 2010 00:38:13 +0000 Subject: [PATCH] SCORM MDL-23947 rename functions to be more useful. --- .../{test_formatdatetime.php => test_formatduration.php} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename mod/scorm/simpletest/{test_formatdatetime.php => test_formatduration.php} (95%) diff --git a/mod/scorm/simpletest/test_formatdatetime.php b/mod/scorm/simpletest/test_formatduration.php similarity index 95% rename from mod/scorm/simpletest/test_formatdatetime.php rename to mod/scorm/simpletest/test_formatduration.php index ecf858174a6..8d655ca23aa 100644 --- a/mod/scorm/simpletest/test_formatdatetime.php +++ b/mod/scorm/simpletest/test_formatduration.php @@ -3,12 +3,12 @@ if (!defined('MOODLE_INTERNAL')) { die('Direct access to this script is forbidden.'); // It must be included from a Moodle page } -// Unit tests for scorm_formatdatetime function from locallib.php +// Unit tests for scorm_formatduration function from locallib.php // Make sure the code being tested is accessible. require_once($CFG->dirroot . '/mod/scorm/locallib.php'); // Include the code to test -class scorm_formatdatetime_test extends UnitTestCase { +class scorm_formatduration_test extends UnitTestCase { function test_scorm2004_format() { $stryears = get_string('years'); $strmonths = trim(get_string('nummonths'));