SCORM MDL-23947 rename functions to be more useful.
authorDan Marsden <Dan@digitalclay.co.nz>
Mon, 18 Oct 2010 00:38:13 +0000 (00:38 +0000)
committerDan Marsden <Dan@digitalclay.co.nz>
Mon, 18 Oct 2010 00:38:13 +0000 (00:38 +0000)
mod/scorm/simpletest/test_formatduration.php [moved from mod/scorm/simpletest/test_formatdatetime.php with 95% similarity]

similarity index 95%
rename from mod/scorm/simpletest/test_formatdatetime.php
rename to mod/scorm/simpletest/test_formatduration.php
index ecf8581..8d655ca 100644 (file)
@@ -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'));