Make WordPress Core


Ignore:
Timestamp:
10/21/2015 11:51:45 PM (11 years ago)
Author:
johnbillion
Message:

Initialise $_SERVER['SERVER_NAME'] during the test bootstrap to avoid individual tests having to do it.

Fixes #34394

File:
1 edited

Legend:

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

    r35347 r35350  
    189189                $message  = "Test Message";
    190190                $headers  = "From: ";
    191                 $expected = "From: WordPress <wordpress@example.com>";
     191                $expected = "From: WordPress <wordpress@" . WP_TESTS_DOMAIN . ">";
    192192
    193193                wp_mail( $to, $subject, $message, $headers );
Note: See TracChangeset for help on using the changeset viewer.