Merge branch 'w49_MDL-36447_m23_gdtest' of git://github.com/skodak/moodle into MOODLE_23_STABLE

This commit is contained in:
Dan Poltawski
2012-12-11 17:54:51 +08:00
@@ -67,6 +67,10 @@ class filestoragelib_testcase extends advanced_testcase {
public function test_get_file_preview(stored_file $file) {
global $CFG;
if (empty($CFG->gdversion)) {
$this->markTestSkipped('GD extension is disabled');
}
$this->resetAfterTest(true);
$fs = get_file_storage();