← r51912: FileSystem API: Add safeguard for invalid return from `get_attached_file()` in `wp_delete_attachment()`.

Failed

Environment

Host Seravo
PHPPHP PHP (PHP: Hypertext Preprocessor) is a general-purpose scripting language especially suited to web development. PHP code is usually processed on a web server by a PHP interpreter. On a web server, the result of the interpreted and executed PHP code would form the whole or part of an HTTP response. Version PHP 8.0.11
DatabaseDatabase A database is an organized collection of data. Access to this data is usually provided by a "database management system" (DBMS) consisting of an integrated set of computer software that allows users to interact with one or more databases and provides access to all of the data contained in the database. Because of the close relationship between them, the term "database" is often used casually to refer to both a database and the DBMS used to manipulate it. Version mysqlMySQL MySQL is an open-source relational database management system (RDBMS). MySQL is free and open-source software under the terms of the GNU General Public License. Ver 15.1 Distrib 10.5.12-MariaDBMariaDB MariaDB is a fork of the MySQL relational database management system (RDBMS), intended to remain free and open-source software under the GNU General Public License. MariaDB intended to maintain high compatibility with MySQL, ensuring a drop-in replacement capability with library binary parity and exact matching with MySQL APIs and commands.
Extensions bcmath (8.0.11), curl (8.0.11), filterFilter Filters are one of the two types of Hooks https://codex.wordpress.org/Plugin_API/Hooks. They provide a way for functions to modify data of other functions. They are the counterpart to Actions. Unlike Actions, filters are meant to work in an isolated manner, and should never have side effects such as affecting global variables and output. (8.0.11), gd (8.0.11), mysqli (8.0.11), imagick (3.5.1), pcre (8.0.11), xml (8.0.11), xmlreader (8.0.11), zlib (8.0.11), curl (7.58.0 (x86_64-pc-linux-gnu) libcurl/7.58.0 OpenSSL/1.1.1 zlib/1.2.11 libidn2/2.0.4 libpsl/0.19.1 (+libidn2/2.0.4) nghttp2/1.30.0 librtmp/2.3), ghostscript (9.26), openssl (1.1.1 11 Sep 2018)

Errors/Failures

Tests_REST_API::test_rest_preload_api_request_embeds_links::test_rest_preload_api_request_embeds_links with data set #0

Tests_REST_API::test_rest_preload_api_request_embeds_links with data set #0 ('_embed=wp:term,author', array('wp:term', 'author'), array('replies'))
Failed asserting that an array has the key 'author'.

/tmp/wp-test-runner/tests/phpunit/tests/rest-api.php:2388

Tests_REST_API::test_rest_preload_api_request_embeds_links::test_rest_preload_api_request_embeds_links with data set #1

Tests_REST_API::test_rest_preload_api_request_embeds_links with data set #1 ('_embed[]=wp:term&_embed[]=author', array('wp:term', 'author'), array('replies'))
Failed asserting that an array has the key 'author'.

/tmp/wp-test-runner/tests/phpunit/tests/rest-api.php:2388

Tests_REST_API::test_rest_preload_api_request_embeds_links::test_rest_preload_api_request_embeds_links with data set #2

Tests_REST_API::test_rest_preload_api_request_embeds_links with data set #2 ('_embed', array('wp:term', 'author', 'replies'), array())
Failed asserting that an array has the key 'author'.

/tmp/wp-test-runner/tests/phpunit/tests/rest-api.php:2388

Tests_REST_API::test_rest_preload_api_request_embeds_links::test_rest_preload_api_request_embeds_links with data set #3

Tests_REST_API::test_rest_preload_api_request_embeds_links with data set #3 ('_embed=1', array('wp:term', 'author', 'replies'), array())
Failed asserting that an array has the key 'author'.

/tmp/wp-test-runner/tests/phpunit/tests/rest-api.php:2388

Tests_REST_API::test_rest_preload_api_request_embeds_links::test_rest_preload_api_request_embeds_links with data set #4

Tests_REST_API::test_rest_preload_api_request_embeds_links with data set #4 ('_embed=true', array('wp:term', 'author', 'replies'), array())
Failed asserting that an array has the key 'author'.

/tmp/wp-test-runner/tests/phpunit/tests/rest-api.php:2388

WP_Test_REST_Comments_Controller::test_get_additional_field_registration

WP_Test_REST_Comments_Controller::test_get_additional_field_registration
Failed asserting that '' matches expected 123.

/tmp/wp-test-runner/tests/phpunit/tests/rest-api/rest-comments-controller.php:3236

WP_Test_REST_Posts_Controller::test_get_additional_field_registration

WP_Test_REST_Posts_Controller::test_get_additional_field_registration
Failed asserting that '' matches expected 123.

/tmp/wp-test-runner/tests/phpunit/tests/rest-api/rest-posts-controller.php:4387

WP_Test_REST_Revisions_Controller::test_get_additional_field_registration

WP_Test_REST_Revisions_Controller::test_get_additional_field_registration
Failed asserting that an array has the key 'my_custom_int'.

/tmp/wp-test-runner/tests/phpunit/tests/rest-api/rest-revisions-controller.php:390

WP_Test_REST_Users_Controller::test_get_items_pagination_headers

WP_Test_REST_Users_Controller::test_get_items_pagination_headers
Failed asserting that 29 is identical to 30.

/tmp/wp-test-runner/tests/phpunit/tests/rest-api/rest-users-controller.php:316

WP_Test_REST_Users_Controller::test_get_items_offset

WP_Test_REST_Users_Controller::test_get_items_offset
Failed asserting that actual size 28 matches expected size 29.

/tmp/wp-test-runner/tests/phpunit/tests/rest-api/rest-users-controller.php:571

WP_Test_REST_Users_Controller::test_get_additional_field_registration

WP_Test_REST_Users_Controller::test_get_additional_field_registration
Failed asserting that an array has the key 'my_custom_int'.

/tmp/wp-test-runner/tests/phpunit/tests/rest-api/rest-users-controller.php:2698