Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #42044, comment 3


Ignore:
Timestamp:
10/01/2017 09:35:50 AM (7 years ago)
Author:
birgire
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #42044, comment 3

    initial v1  
    99 */
    1010class Tests_Admin_includesListTable extends WP_UnitTestCase {
    11         protected $backupGlobalsBlacklist = ['wpdb'];
     11        protected $backupGlobalsBlacklist = array( 'wpdb' );
    1212
    1313}}}
    1414
    1515where we blacklist the {{{$wpdb}}} object, as it seems it can't survive the serialization.
     16
     17The blacklisting is explained [https://phpunit.de/manual/current/en/fixtures.html#fixtures.global-state here].
    1618
    1719I ran the