Skip to content
Permalink
Browse files

MDL-37122 core get_max_upload_sizes: Removed unit test for no limit a…

…s it is depends on settings in php.ini
  • Loading branch information...
damyon committed Feb 11, 2013
1 parent 3543488 commit a052fe8a6bc215a297eabadf59e1b58ef65b3bd6
Showing with 0 additions and 8 deletions.
  1. +0 −8 lib/tests/moodlelib_test.php
@@ -2292,14 +2292,6 @@ function test_get_max_upload_sizes() {
$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;

0 comments on commit a052fe8

Please sign in to comment.
You can’t perform that action at this time.