Skip to content
Browse files

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

…odle into MOODLE_23_STABLE
  • Loading branch information...
2 parents 7350e43 + 0f4db45 commit def17258537b2ca8f347b25e1b5b3df9fea188fe @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 def1725

Please sign in to comment.
Something went wrong with that request. Please try again.