Changeset 51568 for trunk/tests/phpunit/tests/theme/wpThemeJsonResolver.php
- Timestamp:
- 08/07/2021 10:29:41 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/theme/wpThemeJsonResolver.php
r51370 r51568 13 13 class Tests_Theme_wpThemeJsonResolver extends WP_UnitTestCase { 14 14 15 public function set Up() {16 parent::set Up();15 public function set_up() { 16 parent::set_up(); 17 17 $this->theme_root = realpath( DIR_TESTDATA . '/themedir1' ); 18 18 … … 30 30 } 31 31 32 public function tear Down() {32 public function tear_down() { 33 33 $GLOBALS['wp_theme_directories'] = $this->orig_theme_dir; 34 34 wp_clean_themes_cache(); 35 35 unset( $GLOBALS['wp_themes'] ); 36 parent::tear Down();36 parent::tear_down(); 37 37 } 38 38
Note: See TracChangeset
for help on using the changeset viewer.