You appear to be a bot. Output may be restricted
Description
Usage
Tests_WP_Date_Query::test_validate_date_values_second();
Parameters
Returns
void
Source
File name: wordpress-develop-tests/phpunit/tests/date/query.php
Lines:
1 to 15 of 15
public function test_validate_date_values_second() { // Valid values. $seconds = range( 0, 59 ); foreach ( $seconds as $second ) { $this->assertTrue( $this->q->validate_date_values( array( 'second' => $second ) ) ); } // Invalid values. $seconds = array( -1, 60 ); foreach ( $seconds as $second ) { $this->assertFalse( $this->q->validate_date_values( array( 'second' => $second ) ) ); } }