WordPress.org

Make WordPress Core

Changeset 46213


Ignore:
Timestamp:
09/20/2019 09:58:42 PM (8 weeks ago)
Author:
SergeyBiryukov
Message:

Tests: Replace "blog" reference in a comment about DISABLE_WP_CRON usage with "site".

Props davidbaumwald.
Fixes #48089.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/includes/bootstrap.php

    r45607 r46213  
    2525
    2626/*
    27  * Globalize some WordPress variables, because PHPUnit loads this file inside a function
     27 * Globalize some WordPress variables, because PHPUnit loads this file inside a function.
    2828 * See: https://github.com/sebastianbergmann/phpunit/issues/325
    2929 */
     
    6464}
    6565
    66 // Cron tries to make an HTTP request to the blog, which always fails, because tests are run in CLI mode only
     66/*
     67 * Cron tries to make an HTTP request to the site, which always fails,
     68 * because tests are run in CLI mode only.
     69 */
    6770define( 'DISABLE_WP_CRON', true );
    6871
Note: See TracChangeset for help on using the changeset viewer.