mirror of
git://develop.git.wordpress.org/
synced 2025-01-18 05:18:42 +01:00
Tests: Temporarily fix a test failing due to European Daylight Saving Time changes.
git-svn-id: https://develop.svn.wordpress.org/trunk@39012 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
19ef3b99e7
commit
64aac0df10
@ -65,6 +65,6 @@ class Tests_Date_I18n extends WP_UnitTestCase {
|
||||
public function test_adjusts_format_based_on_timezone_string() {
|
||||
update_option( 'timezone_string', 'Europe/Zurich' );
|
||||
|
||||
$this->assertEquals( '2012-12-01 00:00:00 CEST +02:00 Europe/Zurich', date_i18n( 'Y-m-d H:i:s T P e', strtotime( '2012-12-01 00:00:00' ) ) );
|
||||
$this->assertEquals( '2012-12-01 00:00:00 CET +02:00 Europe/Zurich', date_i18n( 'Y-m-d H:i:s T P e', strtotime( '2012-12-01 00:00:00' ) ) );
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user