Changeset 51462 for trunk/tests/phpunit/tests/comment.php
- Timestamp:
- 07/19/2021 02:00:11 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/comment.php
r51367 r51462 516 516 remove_filter( 'comment_notification_text', array( $this, 'save_comment_notification_text' ) ); 517 517 518 $this->assert Contains( admin_url( "comment.php?action=editcomment&c={$c1}" ), self::$notify_message );518 $this->assertStringContainsString( admin_url( "comment.php?action=editcomment&c={$c1}" ), self::$notify_message ); 519 519 } 520 520 … … 541 541 remove_filter( 'comment_moderation_text', array( $this, 'save_comment_notification_text' ) ); 542 542 543 $this->assert Contains( admin_url( "comment.php?action=editcomment&c={$c1}" ), self::$notify_message );543 $this->assertStringContainsString( admin_url( "comment.php?action=editcomment&c={$c1}" ), self::$notify_message ); 544 544 } 545 545
Note: See TracChangeset
for help on using the changeset viewer.