From 64aac0df1001e5598cde0c42943d648ed5c30444 Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Sun, 30 Oct 2016 05:43:44 +0000 Subject: [PATCH] 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 --- tests/phpunit/tests/date/dateI18n.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/phpunit/tests/date/dateI18n.php b/tests/phpunit/tests/date/dateI18n.php index e616f43bf2..953a7f9e98 100644 --- a/tests/phpunit/tests/date/dateI18n.php +++ b/tests/phpunit/tests/date/dateI18n.php @@ -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' ) ) ); } }