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