Browse files

Merge branch 'w49_MDL-36447_m24_gdtest' of git://github.com/skodak/mo…

…odle into MOODLE_24_STABLE
  • Loading branch information...
2 parents 71cc181 + da0cf7f commit 9261144beb820d54966cba465ebce2b9267296b2 @danpoltawski danpoltawski committed Dec 11, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 lib/filestorage/tests/file_storage_test.php
View
4 lib/filestorage/tests/file_storage_test.php
@@ -67,6 +67,10 @@ public function test_create_file_from_pathname() {
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();

0 comments on commit 9261144

Please sign in to comment.