Changeset 51568 for trunk/tests/phpunit/tests/l10n/wpLocaleSwitcher.php
- Timestamp:
- 08/07/2021 10:29:41 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/l10n/wpLocaleSwitcher.php
r51419 r51568 17 17 protected $previous_locale = ''; 18 18 19 public function set Up() {20 parent::set Up();19 public function set_up() { 20 parent::set_up(); 21 21 22 22 $this->locale = ''; … … 28 28 } 29 29 30 public function tear Down() {30 public function tear_down() { 31 31 unset( $GLOBALS['l10n'] ); 32 32 unset( $GLOBALS['l10n_unloaded'] ); 33 33 _get_path_to_translation( null, true ); 34 34 35 parent::tear Down();35 parent::tear_down(); 36 36 } 37 37
Note: See TracChangeset
for help on using the changeset viewer.