Changeset 37358 for trunk/tests/phpunit/tests/user.php
- Timestamp:
- 05/04/2016 03:48:46 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/user.php
r37277 r37358 1025 1025 */ 1026 1026 function test_wp_new_user_notification( $notify, $admin_email_sent_expected, $user_email_sent_expected ) { 1027 unset( $GLOBALS['phpmailer']->mock_sent);1027 reset_phpmailer_instance(); 1028 1028 1029 1029 $was_admin_email_sent = false; … … 1101 1101 */ 1102 1102 function test_wp_new_user_notification_old_signature_throws_deprecated_warning_but_sends() { 1103 unset( $GLOBALS['phpmailer']->mock_sent);1103 reset_phpmailer_instance(); 1104 1104 1105 1105 $was_admin_email_sent = false; … … 1126 1126 */ 1127 1127 function test_wp_new_user_notification_old_signature_no_password() { 1128 unset( $GLOBALS['phpmailer']->mock_sent);1128 reset_phpmailer_instance(); 1129 1129 1130 1130 $was_admin_email_sent = false;
Note: See TracChangeset
for help on using the changeset viewer.