Changeset 48937 for trunk/tests/phpunit/tests/formatting/HumanTimeDiff.php
- Timestamp:
- 09/02/2020 12:35:36 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/formatting/HumanTimeDiff.php
r46586 r48937 14 14 function test_human_time_diff( $expected, $stopdate, $message ) { 15 15 $startdate = new DateTime( '2016-01-01 12:00:00' ); 16 $this->assert Equals( $expected, human_time_diff( $startdate->format( 'U' ), $stopdate->format( 'U' ) ), $message );16 $this->assertSame( $expected, human_time_diff( $startdate->format( 'U' ), $stopdate->format( 'U' ) ), $message ); 17 17 } 18 18
Note: See TracChangeset
for help on using the changeset viewer.