Changeset 51568 for trunk/tests/phpunit/tests/filesystem/base.php
- Timestamp:
- 08/07/2021 10:29:41 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/filesystem/base.php
r51436 r51568 5 5 */ 6 6 abstract class WP_Filesystem_UnitTestCase extends WP_UnitTestCase { 7 function set Up() {8 parent::set Up();7 function set_up() { 8 parent::set_up(); 9 9 add_filter( 'filesystem_method_file', array( $this, 'filter_abstraction_file' ) ); 10 10 add_filter( 'filesystem_method', array( $this, 'filter_fs_method' ) ); … … 12 12 } 13 13 14 function tear Down() {14 function tear_down() { 15 15 global $wp_filesystem; 16 16 remove_filter( 'filesystem_method_file', array( $this, 'filter_abstraction_file' ) ); … … 18 18 unset( $wp_filesystem ); 19 19 20 parent::tear Down();20 parent::tear_down(); 21 21 } 22 22
Note: See TracChangeset
for help on using the changeset viewer.