Changeset 52010 for trunk/tests/phpunit/tests/formatting/humanTimeDiff.php
- Timestamp:
- 11/04/2021 03:22:47 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/formatting/humanTimeDiff.php
r51623 r52010 12 12 * @dataProvider data_test_human_time_diff 13 13 */ 14 function test_human_time_diff( $expected, $stopdate, $message ) {14 public function test_human_time_diff( $expected, $stopdate, $message ) { 15 15 $startdate = new DateTime( '2016-01-01 12:00:00' ); 16 16 $this->assertSame( $expected, human_time_diff( $startdate->format( 'U' ), $stopdate->format( 'U' ) ), $message ); … … 18 18 19 19 // Data for test_human_time_diff. 20 function data_test_human_time_diff() {20 public function data_test_human_time_diff() { 21 21 return array( 22 22 array(
Note: See TracChangeset
for help on using the changeset viewer.