MDL-37122 core get_max_upload_sizes: Removed unit test for no limit as it is depends...
authorDamyon Wiese <damyon@moodle.com>
Mon, 11 Feb 2013 07:18:12 +0000 (15:18 +0800)
committerDamyon Wiese <damyon@moodle.com>
Mon, 11 Feb 2013 07:18:12 +0000 (15:18 +0800)
lib/tests/moodlelib_test.php

index 5c2cbeb..b5807b3 100644 (file)
@@ -2292,14 +2292,6 @@ class moodlelib_testcase extends advanced_testcase {
         $this->assertEquals('Course upload limit (50KB)', $result['0']);
         $this->assertEquals(3, count($result));
 
-        // Test no limits.
-        $sitebytes = 0;
-        $coursebytes = 0;
-        $modulebytes = 0;
-        $result = get_max_upload_sizes($sitebytes, $coursebytes, $modulebytes);
-
-        $this->assertEquals(6, count($result));
-
         // Test custom bytes in range.
         $sitebytes = 102400;
         $coursebytes = 51200;