Changeset 45607 for trunk/tests/phpunit/tests/comment/walker.php
- Timestamp:
- 07/08/2019 12:55:20 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/comment/walker.php
r43571 r45607 55 55 56 56 public function comment( $comment, $args, $depth ) { 57 if ( 1 == $depth ) {57 if ( 1 === $depth ) { 58 58 $this->test_walker->assertTrue( $this->walker->has_children ); 59 59 $this->test_walker->assertTrue( $args['has_children'] ); // Back compat 60 } elseif ( 2 == $depth ) {60 } elseif ( 2 === $depth ) { 61 61 $this->test_walker->assertFalse( $this->walker->has_children ); 62 62 $this->test_walker->assertFalse( $args['has_children'] ); // Back compat
Note: See TracChangeset
for help on using the changeset viewer.