Changeset 53791 for trunk/tests/phpunit/tests/admin/wpMediaListTable.php
- Timestamp:
- 07/29/2022 03:32:58 AM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/admin/wpMediaListTable.php
r51639 r53791 25 25 * @ticket 53949 26 26 * @covers WP_Media_List_Table::prepare_items 27 * @group cron 27 28 */ 28 29 public function test_prepare_items_without_cron_option_does_not_throw_warning() { … … 43 44 44 45 // Verify that the cause of the error is in place. 45 $this->assertFalse( _get_cron_array(), '_get_cron_array() does not return false' ); 46 $this->assertIsArray( _get_cron_array(), '_get_cron_array() does not return an array.' ); 47 $this->assertEmpty( _get_cron_array(), '_get_cron_array() does not return an empty array.' ); 46 48 47 49 // If this test does not error out due to the PHP warning, we're good.
Note: See TracChangeset
for help on using the changeset viewer.