Changeset 53938
- Timestamp:
- 08/24/2022 02:03:12 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/comment/walker.php
r53863 r53938 7 7 */ 8 8 class Tests_Comment_Walker extends WP_UnitTestCase { 9 10 /** 11 * Comment post ID. 12 * 13 * @var int 14 */ 15 private $post_id; 9 16 10 17 public function set_up() { … … 29 36 30 37 $comment_walker = new Walker_Comment(); 31 $comment_callback = new Comment_Callback_Test ( $this, $comment_walker );38 $comment_callback = new Comment_Callback_Test_Helper( $this, $comment_walker ); 32 39 33 40 wp_list_comments( … … 50 57 } 51 58 52 class Comment_Callback_Test { 59 class Comment_Callback_Test_Helper { 60 private $test_walker; 61 private $walker; 62 53 63 public function __construct( Tests_Comment_Walker $test_walker, Walker_Comment $walker ) { 54 64 $this->test_walker = $test_walker;
Note: See TracChangeset
for help on using the changeset viewer.