Index: tests/phpunit/tests/date/query.php
===================================================================
--- tests/phpunit/tests/date/query.php	(revision 31248)
+++ tests/phpunit/tests/date/query.php	(working copy)
@@ -857,13 +857,13 @@
 	 */
 	public function test_validate_date_values_hour() {
 		// Valid values.
-		$hours = range( 1, 23 );
+		$hours = range( 0, 23 );
 		foreach ( $hours as $hour ) {
 			$this->assertTrue( $this->q->validate_date_values( array( 'hour' => $hour ) ) );
 		}
 
 		// Invalid values.
-		$hours = array( -1, 24, 25, 'string who wants to be a int' );
+		$hours = array( -1, 24, 25 );
 		foreach ( $hours as $hour ) {
 			$this->assertFalse( $this->q->validate_date_values( array( 'hour' => $hour ) ) );
 		}
