Changeset 47288 for trunk/tests/phpunit/tests/general/template.php
- Timestamp:
- 02/14/2020 12:11:00 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/general/template.php
r47198 r47288 433 433 434 434 $expected = '1453390476'; 435 $ d= 'G';436 $actual = get_the_modified_time( $ d);435 $format = 'G'; 436 $actual = get_the_modified_time( $format ); 437 437 $this->assertEquals( $expected, $actual ); 438 438 } … … 480 480 ); 481 481 $post_id = $this->factory->post->create( $details ); 482 $ d= 'Y-m-d';482 $format = 'Y-m-d'; 483 483 $expected = '2016-01-21'; 484 $actual = get_the_modified_date( $ d, $post_id );484 $actual = get_the_modified_date( $format, $post_id ); 485 485 $this->assertEquals( $expected, $actual ); 486 486 } … … 504 504 505 505 $expected = '2016-01-21'; 506 $ d= 'Y-m-d';507 $actual = get_the_modified_date( $ d);506 $format = 'Y-m-d'; 507 $actual = get_the_modified_date( $format ); 508 508 $this->assertEquals( $expected, $actual ); 509 509 } … … 551 551 ); 552 552 $post_id = $this->factory->post->create( $details ); 553 $ d= 'G';553 $format = 'G'; 554 554 $expected = '1453390476'; 555 $actual = get_the_modified_time( $ d, $post_id );555 $actual = get_the_modified_time( $format, $post_id ); 556 556 $this->assertEquals( $expected, $actual ); 557 557 }
Note: See TracChangeset
for help on using the changeset viewer.