Changeset 29906
- Timestamp:
- 10/15/2014 05:52:05 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/date/query.php
r29797 r29906 414 414 // This might be a fragile test if it takes longer than 1 second to run 415 415 $found = $q->build_mysql_datetime( 'foo' ); 416 $expected = gmdate( 'Y-m-d H:i:s', strtotime( current_time( 'timestamp' ) ));417 $this->assertSame( $ found, $expected );416 $expected = gmdate( 'Y-m-d H:i:s', false ); 417 $this->assertSame( $expected, $found ); 418 418 } 419 419
Note: See TracChangeset
for help on using the changeset viewer.