Changeset 55341
- Timestamp:
- 02/14/2023 06:19:34 PM (19 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/functions/wpListPluck.php
r55077 r55341 12 12 13 13 public function set_up() { 14 parent::set_up(); 14 /* 15 * This method deliberately does not call parent::set_up(). Why? 16 * 17 * The call stack for WP_UnitTestCase_Base::set_up() includes a call to 18 * WP_List_Util::pluck(), which creates an inaccurate coverage report 19 * for this method. 20 * 21 * To ensure that deprecation and incorrect usage notices continue to be 22 * detectable, this method uses WP_UnitTestCase_Base::expectDeprecated(). 23 */ 24 $this->expectDeprecated(); 25 15 26 $this->array_list['foo'] = array( 16 27 'name' => 'foo',
Note: See TracChangeset
for help on using the changeset viewer.