Changeset 47118 for trunk/tests/phpunit/tests/date/mysql2date.php
- Timestamp:
- 01/28/2020 12:51:42 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/date/mysql2date.php
r46586 r47118 8 8 9 9 function tearDown() { 10 // phpcs:ignore WordPress.DateTime.RestrictedFunctions.timezone_change_date_default_timezone_set 10 11 date_default_timezone_set( 'UTC' ); 11 12 … … 32 33 function test_mysql2date_should_format_time_with_changed_time_zone() { 33 34 $timezone = 'Europe/Kiev'; 35 // phpcs:ignore WordPress.DateTime.RestrictedFunctions.timezone_change_date_default_timezone_set 34 36 date_default_timezone_set( $timezone ); 35 37 update_option( 'timezone_string', $timezone );
Note: See TracChangeset
for help on using the changeset viewer.