Changeset 45607 for trunk/tests/phpunit/tests/comment.php
- Timestamp:
- 07/08/2019 12:55:20 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/comment.php
r43467 r45607 673 673 if ( isset( $GLOBALS['phpmailer']->mock_sent ) 674 674 && ! empty( $GLOBALS['phpmailer']->mock_sent ) 675 && WP_TESTS_EMAIL == $GLOBALS['phpmailer']->mock_sent[0]['to'][0][0]675 && WP_TESTS_EMAIL === $GLOBALS['phpmailer']->mock_sent[0]['to'][0][0] 676 676 ) { 677 677 $email_sent_when_comment_added = true; … … 701 701 if ( isset( $GLOBALS['phpmailer']->mock_sent ) 702 702 && ! empty( $GLOBALS['phpmailer']->mock_sent ) 703 && 'test@test.com' == $GLOBALS['phpmailer']->mock_sent[0]['to'][0][0]703 && 'test@test.com' === $GLOBALS['phpmailer']->mock_sent[0]['to'][0][0] 704 704 ) { 705 705 $email_sent_when_comment_approved = true; … … 723 723 if ( isset( $GLOBALS['phpmailer']->mock_sent ) && 724 724 ! empty( $GLOBALS['phpmailer']->mock_sent ) && 725 'test@test.com' == $GLOBALS['phpmailer']->mock_sent[0]['to'][0][0] ) {725 'test@test.com' === $GLOBALS['phpmailer']->mock_sent[0]['to'][0][0] ) { 726 726 $email_sent_when_comment_added = true; 727 727 reset_phpmailer_instance();
Note: See TracChangeset
for help on using the changeset viewer.