Changeset 51568 for trunk/tests/phpunit/tests/image/editorGd.php
- Timestamp:
- 08/07/2021 10:29:41 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/image/editorGd.php
r51415 r51568 14 14 public $editor_engine = 'WP_Image_Editor_GD'; 15 15 16 public function set Up() {16 public function set_up() { 17 17 require_once ABSPATH . WPINC . '/class-wp-image-editor.php'; 18 18 require_once ABSPATH . WPINC . '/class-wp-image-editor-gd.php'; 19 19 20 20 // This needs to come after the mock image editor class is loaded. 21 parent::set Up();22 } 23 24 public function tear Down() {21 parent::set_up(); 22 } 23 24 public function tear_down() { 25 25 $folder = DIR_TESTDATA . '/images/waffles-*.jpg'; 26 26 … … 31 31 $this->remove_added_uploads(); 32 32 33 parent::tear Down();33 parent::tear_down(); 34 34 } 35 35
Note: See TracChangeset
for help on using the changeset viewer.