Index: tests/phpunit/tests/formatting/date.php
===================================================================
--- tests/phpunit/tests/formatting/date.php	(revision 39548)
+++ tests/phpunit/tests/formatting/date.php	(working copy)
@@ -80,17 +80,13 @@
 	 */
 	function test_get_gmt_from_date_string_date() {
 		update_option( 'timezone_string', 'Europe/London' );
-		$local = 'now';
-		$gmt = gmdate( 'Y-m-d H:i:s', strtotime( 'now' ) );
-		$this->assertEquals( $gmt, get_gmt_from_date( $local ) );
+		$this->assertEquals( strtotime( gmdate( 'Y-m-d H:i:s' ) ), strtotime( get_gmt_from_date( 'now' ) ), 'The dates should be equal', 2 );
 	}
 
 	/**
 	 * @ticket 34279
 	 */
 	function test_get_gmt_from_date_string_date_no_timezone() {
-		$local = 'now';
-		$gmt = gmdate( 'Y-m-d H:i:s', strtotime( 'now' ) );
-		$this->assertEquals( $gmt, get_gmt_from_date( $local ) );
+		$this->assertEquals( strtotime( gmdate( 'Y-m-d H:i:s' ) ), strtotime( get_gmt_from_date( 'now' ) ), 'The dates should be equal', 2 );
 	}
 }
