Changeset 57008
- Timestamp:
- 10/25/2023 11:20:23 AM (13 months ago)
- Location:
- trunk/tests/phpunit/tests/l10n
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/l10n/getLocale.php
r56548 r57008 41 41 */ 42 42 public function test_network_option_should_be_fallback_on_multisite() { 43 if ( ! is_multisite() ) {44 $this->markTestSkipped( 'This test requires Multisite.' );45 }46 47 43 global $locale; 48 44 $old_locale = $locale; … … 61 57 */ 62 58 public function test_option_should_be_respected_on_nonmultisite() { 63 if ( is_multisite() ) {64 $this->markTestSkipped( 'This test does not apply to Multisite.' );65 }66 67 59 global $locale; 68 60 $old_locale = $locale; -
trunk/tests/phpunit/tests/l10n/getUserLocale.php
r54088 r57008 68 68 */ 69 69 public function test_user_locale_is_same_across_network() { 70 if ( ! is_multisite() ) {71 $this->markTestSkipped( 'This test requires Multisite.' );72 }73 74 70 $user_locale = get_user_locale(); 75 71
Note: See TracChangeset
for help on using the changeset viewer.