WordPress.org

Make WordPress Core

Changeset 650 in tests


Ignore:
Timestamp:
04/08/2012 09:07:35 PM (6 years ago)
Author:
kurtpayne
Message:

Reset the global $comment object between tests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wp-testcase/test_admin_includes_ajax_actions.php

    r648 r650  
    100100        $_GET = array();
    101101        unset( $GLOBALS['post'] );
     102        unset( $GLOBALS['comment'] );
    102103        remove_filter( 'wp_die_ajax_handler', array( $this, 'getDieHandler' ), 1, 1 );
    103104        error_reporting( $this->_error_level );
Note: See TracChangeset for help on using the changeset viewer.