Changeset 57987 for trunk/tests/phpunit/tests/comment/getPageOfComment.php
- Timestamp:
- 04/12/2024 05:45:23 PM (10 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/comment/getPageOfComment.php
r55745 r57987 307 307 } 308 308 309 $page_1_indic ies = array( 2, 3, 4 );310 $page_2_indic ies = array( 0, 1 );309 $page_1_indices = array( 2, 3, 4 ); 310 $page_2_indices = array( 0, 1 ); 311 311 312 312 $args = array( … … 315 315 ); 316 316 317 foreach ( $page_1_indic ies as $p1i ) {317 foreach ( $page_1_indices as $p1i ) { 318 318 $this->assertSame( 1, (int) get_page_of_comment( $comment_parents[ $p1i ], $args ) ); 319 319 $this->assertSame( 1, (int) get_page_of_comment( $comment_children[ $p1i ], $args ) ); 320 320 } 321 321 322 foreach ( $page_2_indic ies as $p2i ) {322 foreach ( $page_2_indices as $p2i ) { 323 323 $this->assertSame( 2, (int) get_page_of_comment( $comment_parents[ $p2i ], $args ) ); 324 324 $this->assertSame( 2, (int) get_page_of_comment( $comment_children[ $p2i ], $args ) );
Note: See TracChangeset
for help on using the changeset viewer.