Changeset 51462 for trunk/tests/phpunit/tests/comment/commentsTemplate.php
- Timestamp:
- 07/19/2021 02:00:11 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/comment/commentsTemplate.php
r49256 r51462 559 559 // This is the main post page, so we don't expect any cpage param. 560 560 foreach ( $matches[1] as $m ) { 561 $this->assert NotContains( 'cpage', $m );561 $this->assertStringNotContainsString( 'cpage', $m ); 562 562 } 563 563 … … 579 579 // They should all be on page 2. 580 580 foreach ( $matches[1] as $m ) { 581 $this->assert Contains( 'cpage=2', $m );581 $this->assertStringContainsString( 'cpage=2', $m ); 582 582 } 583 583 } … … 651 651 652 652 foreach ( $matches[1] as $m ) { 653 $this->assert Contains( 'cpage=3', $m );653 $this->assertStringContainsString( 'cpage=3', $m ); 654 654 } 655 655 … … 671 671 // They should all be on page 2. 672 672 foreach ( $matches[1] as $m ) { 673 $this->assert Contains( 'cpage=2', $m );673 $this->assertStringContainsString( 'cpage=2', $m ); 674 674 } 675 675 … … 692 692 // They should all be on page 2. 693 693 foreach ( $matches[1] as $m ) { 694 $this->assert Contains( 'cpage=1', $m );694 $this->assertStringContainsString( 'cpage=1', $m ); 695 695 } 696 696 }
Note: See TracChangeset
for help on using the changeset viewer.