WordPress.org

Make WordPress Core

Changeset 1008 in tests


Ignore:
Timestamp:
09/05/12 18:13:28 (20 months ago)
Author:
kurtpayne
Message:

Enable the Ajax tests and single site tests to run together. Fixes #UT128.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/includes/testcase-ajax.php

    r903 r1008  
    6666        if ( !defined( 'DOING_AJAX' ) ) 
    6767            define( 'DOING_AJAX', true ); 
     68        set_current_screen( 'ajax' ); 
    6869 
    6970        // Clear logout cookies 
     
    9192        remove_action( 'clear_auth_cookie', array( $this, 'logout' ) ); 
    9293        error_reporting( $this->_error_level ); 
     94        set_current_screen( 'front' ); 
    9395    } 
    9496 
Note: See TracChangeset for help on using the changeset viewer.