Changeset 35347
- Timestamp:
- 10/21/2015 10:33:53 PM (9 years ago)
- Location:
- trunk/tests/phpunit/tests
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/comment.php
r35339 r35347 515 515 if ( isset( $GLOBALS['phpmailer']->mock_sent ) 516 516 && ! empty( $GLOBALS['phpmailer']->mock_sent ) 517 && 'admin@example.org'== $GLOBALS['phpmailer']->mock_sent[0]['to'][0][0]517 && WP_TESTS_EMAIL == $GLOBALS['phpmailer']->mock_sent[0]['to'][0][0] 518 518 ) { 519 519 $email_sent_when_comment_added = true; -
trunk/tests/phpunit/tests/mail.php
r34234 r35347 21 21 function test_wp_mail_break_it() { 22 22 $content = str_repeat( 'A', 1000 ); 23 wp_mail( "admin@example.org", 'Looong line testing', $content);23 wp_mail( WP_TESTS_EMAIL, 'Looong line testing', $content); 24 24 } 25 25
Note: See TracChangeset
for help on using the changeset viewer.