diff --git a/course/tests/behat/course_category_management_listing.feature b/course/tests/behat/course_category_management_listing.feature index a07af936601..6871aae3684 100644 --- a/course/tests/behat/course_category_management_listing.feature +++ b/course/tests/behat/course_category_management_listing.feature @@ -295,9 +295,9 @@ Feature: Course category management interface performs as expected | Cat 1 | 0 | CAT1 | And the following "courses" exist: | category | fullname | shortname | idnumber | sortorder | timecreated | - | CAT1 | Social studies | Senior school | Ext003 | 1 | 10000000001 | - | CAT1 | Applied sciences | Middle school | Sci001 | 2 | 10000000002 | - | CAT1 | Extended social studies | Junior school | Ext002 | 3 | 10000000003 | + | CAT1 | Social studies | Senior school | Ext003 | 1 | 1000000001 | + | CAT1 | Applied sciences | Middle school | Sci001 | 2 | 1000000002 | + | CAT1 | Extended social studies | Junior school | Ext002 | 3 | 1000000003 | And I log in as "admin" And I go to the courses management page diff --git a/course/tests/behat/course_resort.feature b/course/tests/behat/course_resort.feature index 9cb31a97fe0..4558c899558 100644 --- a/course/tests/behat/course_resort.feature +++ b/course/tests/behat/course_resort.feature @@ -11,9 +11,9 @@ Feature: Test we can resort course in the management interface. | Cat 1 | 0 | CAT1 | And the following "courses" exist: | category | fullname | shortname | idnumber | sortorder | timecreated | - | CAT1 | Social studies | Senior school | Ext003 | 1 | 10000000001 | - | CAT1 | Applied sciences | Middle school | Sci001 | 2 | 10000000002 | - | CAT1 | Extended social studies | Junior school | Ext002 | 3 | 10000000003 | + | CAT1 | Social studies | Senior school | Ext003 | 1 | 1000000001 | + | CAT1 | Applied sciences | Middle school | Sci001 | 2 | 1000000002 | + | CAT1 | Extended social studies | Junior school | Ext002 | 3 | 1000000003 | And I log in as "admin" And I go to the courses management page @@ -54,9 +54,9 @@ Feature: Test we can resort course in the management interface. | Cat 1 | 0 | CAT1 | And the following "courses" exist: | category | fullname | shortname | idnumber | sortorder | timecreated | - | CAT1 | Social studies | Senior school | Ext003 | 1 | 10000000001 | - | CAT1 | Applied sciences | Middle school | Sci001 | 2 | 10000000002 | - | CAT1 | Extended social studies | Junior school | Ext002 | 3 | 10000000003 | + | CAT1 | Social studies | Senior school | Ext003 | 1 | 1000000001 | + | CAT1 | Applied sciences | Middle school | Sci001 | 2 | 1000000002 | + | CAT1 | Extended social studies | Junior school | Ext002 | 3 | 1000000003 | And I log in as "admin" And I go to the courses management page diff --git a/lib/tests/coursecatlib_test.php b/lib/tests/coursecatlib_test.php index 0aa637b6b6d..5c5b1f356ba 100644 --- a/lib/tests/coursecatlib_test.php +++ b/lib/tests/coursecatlib_test.php @@ -396,28 +396,28 @@ class core_coursecatlib_testcase extends advanced_testcase { 'idnumber' => '006-01', 'shortname' => 'Biome Study', 'fullname' => ''.'دراسة منطقة إحيائية'.'Biome Study', - 'timecreated' => '10000000001' + 'timecreated' => '1000000001' )); $course2 = $generator->create_course(array( 'category' => $category->id, 'idnumber' => '007-02', 'shortname' => 'Chemistry Revision', 'fullname' => 'Chemistry Revision', - 'timecreated' => '10000000002' + 'timecreated' => '1000000002' )); $course3 = $generator->create_course(array( 'category' => $category->id, 'idnumber' => '007-03', 'shortname' => 'Swiss Rolls and Sunflowers', 'fullname' => 'Aarkvarks guide to Swiss Rolls and Sunflowers', - 'timecreated' => '10000000003' + 'timecreated' => '1000000003' )); $course4 = $generator->create_course(array( 'category' => $category->id, 'idnumber' => '006-04', 'shortname' => 'Scratch', 'fullname' => 'Basic Scratch', - 'timecreated' => '10000000004' + 'timecreated' => '1000000004' )); $c1 = (int)$course1->id; $c2 = (int)$course2->id;