Changes between Initial Version and Version 1 of Ticket #42044, comment 3
- Timestamp:
- 10/01/2017 09:35:50 AM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #42044, comment 3
initial v1 9 9 */ 10 10 class Tests_Admin_includesListTable extends WP_UnitTestCase { 11 protected $backupGlobalsBlacklist = ['wpdb'];11 protected $backupGlobalsBlacklist = array( 'wpdb' ); 12 12 13 13 }}} 14 14 15 15 where we blacklist the {{{$wpdb}}} object, as it seems it can't survive the serialization. 16 17 The blacklisting is explained [https://phpunit.de/manual/current/en/fixtures.html#fixtures.global-state here]. 16 18 17 19 I ran the