Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

…odle into MOODLE_23_STABLE
  • Loading branch information...
commit def17258537b2ca8f347b25e1b5b3df9fea188fe 2 parents 7350e43 + 0f4db45
@danpoltawski danpoltawski authored
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();
Please sign in to comment.
Something went wrong with that request. Please try again.