Make WordPress Core


Ignore:
Timestamp:
10/15/2015 08:34:08 PM (9 years ago)
Author:
ocean90
Message:

Tests: Don't preserve the global state for Ajax tests when using an external object cache.

Most of the Ajax tests are running in a separate PHP process, and thus PHPUnit attempts to preserve the global state from the parent process by serializing all globals. But this doesn't work for external object caches so we have to disable this "feature".

See #31491.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/ajax/Response.php

    r31622 r35209  
    77 * @since      3.5.0
    88 * @group      ajax
     9 * @runInSeparateProcess
    910 */
    1011class Tests_Ajax_Response extends WP_UnitTestCase {
     
    6566     * bootstrapper
    6667     * @ticket 19448
    67      * @runInSeparateProcess
    6868     */
    6969    public function test_response_charset_in_header() {
Note: See TracChangeset for help on using the changeset viewer.