Make WordPress Core

Changeset 39013


Ignore:
Timestamp:
10/30/2016 05:53:58 AM (7 years ago)
Author:
DrewAPicture
Message:

Tests: Helps to also update the hour and not just the timezone to temporarily fix a test broken due to Daylight Saving Time changes in Europe.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/date/dateI18n.php

    r39012 r39013  
    6666        update_option( 'timezone_string', 'Europe/Zurich' );
    6767
    68         $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' ) ) );
     68        $this->assertEquals( '2012-12-01 00:00:00 CET +01:00 Europe/Zurich', date_i18n( 'Y-m-d H:i:s T P e', strtotime( '2012-12-01 00:00:00' ) ) );
    6969    }
    7070}
Note: See TracChangeset for help on using the changeset viewer.