WordPress.org

Make WordPress Core


Ignore:
Timestamp:
04/23/2016 08:15:11 AM (2 years ago)
Author:
SergeyBiryukov
Message:

Build/Test Tools: Reset the PHPMailer mock in Tests_Mail::tearDown().

Props welcher.
Fixes #36609.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/mail.php

    r36786 r37307  
    88        parent::setUp();
    99        unset( $GLOBALS['phpmailer']->mock_sent );
     10    }
     11
     12    function tearDown() {
     13        unset( $GLOBALS['phpmailer']->mock_sent );
     14        parent::tearDown();
    1015    }
    1116
Note: See TracChangeset for help on using the changeset viewer.