Index: tests/phpunit/tests/date/query.php
===================================================================
--- tests/phpunit/tests/date/query.php	(revision 35080)
+++ tests/phpunit/tests/date/query.php	(working copy)
@@ -975,9 +975,8 @@
 	 * @ticket 31001
 	 */
 	public function test_validate_date_values_should_process_array_value_for_year() {
-		$p1 = $this->factory->post->create( array( 'post_date' => '2015-01-12' ) );
-		$p2 = $this->factory->post->create( array( 'post_date' => '2013-01-12' ) );
-
+		$p1 = $this->factory->post->create( array( 'post_date' => '2015-12-01 00:00:00' ) );
+		$p2 = $this->factory->post->create( array( 'post_date' => '2013-12-01 00:00:00' ) );
 		$q = new WP_Query( array(
 			'date_query' => array(
 				array(
