← r52797: Media: Make `get_post_galleries()` only return galleries.

Failed

Environment

Host WPSysAdmin
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.16
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.15-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.16), curl (8.0.16), 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.16), gd (8.0.16), mysqli (8.0.16), imagick (3.6.0), pcre (8.0.16), xml (8.0.16), xmlreader (8.0.16), zlib (8.0.16), curl (7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.9 libidn2/2.3.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3), ghostscript (9.50), imagemagick (6.9.10-23), openssl (1.1.1f 31 Mar 2020)

Errors/Failures

Tests_dbDelta::test_existing_table

Tests_dbDelta::test_existing_table
Failed asserting that two arrays are identical.
--- Expected
+++ Actual
@@ @@
-Array &0 ()
+Array &0 (
+    'wptests_dbdelta_test.id' => 'Changed type of wptests_dbdelta_test.id from bigint(20) to bigint'
+)

/webs/wpsabot/wpsabot.wpsysadmin.com/tests/phpunit/tests/dbdelta.php:156

Tests_dbDelta::test_column_type_change

Tests_dbDelta::test_column_type_change
Failed asserting that two arrays are identical.
--- Expected
+++ Actual
@@ @@
 Array &0 (
-    'wptests_dbdelta_test.id' => 'Changed type of wptests_dbdelta_test.id from bigint to int(11)'
+    'wptests_dbdelta_test.id' => 'Changed type of wptests_dbdelta_test.id from bigint(20) to int(11)'
 )

/webs/wpsabot/wpsabot.wpsysadmin.com/tests/phpunit/tests/dbdelta.php:182

Tests_dbDelta::test_column_added

Tests_dbDelta::test_column_added
Failed asserting that two arrays are identical.
--- Expected
+++ Actual
@@ @@
 Array &0 (
+    'wptests_dbdelta_test.id' => 'Changed type of wptests_dbdelta_test.id from bigint(20) to bigint'
     'wptests_dbdelta_test.extra_col' => 'Added column wptests_dbdelta_test.extra_col'
 )

/webs/wpsabot/wpsabot.wpsysadmin.com/tests/phpunit/tests/dbdelta.php:211

Tests_dbDelta::test_columns_arent_removed

Tests_dbDelta::test_columns_arent_removed
Failed asserting that two arrays are identical.
--- Expected
+++ Actual
@@ @@
-Array &0 ()
+Array &0 (
+    'wptests_dbdelta_test.id' => 'Changed type of wptests_dbdelta_test.id from bigint(20) to bigint'
+)

/webs/wpsabot/wpsabot.wpsysadmin.com/tests/phpunit/tests/dbdelta.php:241

Tests_dbDelta::test_no_execution

Tests_dbDelta::test_no_execution
Failed asserting that two arrays are identical.
--- Expected
+++ Actual
@@ @@
 Array &0 (
+    'wptests_dbdelta_test.id' => 'Changed type of wptests_dbdelta_test.id from bigint(20) to bigint'
     'wptests_dbdelta_test.extra_col' => 'Added column wptests_dbdelta_test.extra_col'
 )

/webs/wpsabot/wpsabot.wpsysadmin.com/tests/phpunit/tests/dbdelta.php:271

Tests_dbDelta::test_fulltext_index

Tests_dbDelta::test_fulltext_index
Failed asserting that an array is empty.

/webs/wpsabot/wpsabot.wpsysadmin.com/tests/phpunit/tests/dbdelta.php:320

Tests_dbDelta::test_dont_downsize_text_fields

Tests_dbDelta::test_dont_downsize_text_fields
Failed asserting that two arrays are identical.
--- Expected
+++ Actual
@@ @@
-Array &0 ()
+Array &0 (
+    'wptests_dbdelta_test.id' => 'Changed type of wptests_dbdelta_test.id from bigint(20) to bigint'
+)

/webs/wpsabot/wpsabot.wpsysadmin.com/tests/phpunit/tests/dbdelta.php:467

Tests_dbDelta::test_dont_downsize_blob_fields

Tests_dbDelta::test_dont_downsize_blob_fields
Failed asserting that two arrays are identical.
--- Expected
+++ Actual
@@ @@
-Array &0 ()
+Array &0 (
+    'wptests_dbdelta_test.id' => 'Changed type of wptests_dbdelta_test.id from bigint(20) to bigint'
+)

/webs/wpsabot/wpsabot.wpsysadmin.com/tests/phpunit/tests/dbdelta.php:492

Tests_dbDelta::test_upsize_text_fields

Tests_dbDelta::test_upsize_text_fields
Failed asserting that two arrays are identical.
--- Expected
+++ Actual
@@ @@
 Array &0 (
+    'wptests_dbdelta_test.id' => 'Changed type of wptests_dbdelta_test.id from bigint(20) to bigint'
     'wptests_dbdelta_test.column_2' => 'Changed type of wptests_dbdelta_test.column_2 from text to bigtext'
 )

/webs/wpsabot/wpsabot.wpsysadmin.com/tests/phpunit/tests/dbdelta.php:520

Tests_dbDelta::test_upsize_blob_fields

Tests_dbDelta::test_upsize_blob_fields
Failed asserting that two arrays are identical.
--- Expected
+++ Actual
@@ @@
 Array &0 (
+    'wptests_dbdelta_test.id' => 'Changed type of wptests_dbdelta_test.id from bigint(20) to bigint'
     'wptests_dbdelta_test.column_3' => 'Changed type of wptests_dbdelta_test.column_3 from blob to mediumblob'
 )

/webs/wpsabot/wpsabot.wpsysadmin.com/tests/phpunit/tests/dbdelta.php:551

Tests_dbDelta::test_query_with_backticks_does_not_throw_an_undefined_index_warning

Tests_dbDelta::test_query_with_backticks_does_not_throw_an_undefined_index_warning
Failed asserting that an array is empty.

/webs/wpsabot/wpsabot.wpsysadmin.com/tests/phpunit/tests/dbdelta.php:579

Tests_dbDelta::test_spatial_indices

Tests_dbDelta::test_spatial_indices
Failed asserting that an array is empty.

/webs/wpsabot/wpsabot.wpsysadmin.com/tests/phpunit/tests/dbdelta.php:616

Tests_dbDelta::test_query_with_backticks_does_not_cause_a_query_to_alter_all_columns_and_indices_to_run_even_if_none_have_changed

Tests_dbDelta::test_query_with_backticks_does_not_cause_a_query_to_alter_all_columns_and_indices_to_run_even_if_none_have_changed
Failed asserting that an array is empty.

/webs/wpsabot/wpsabot.wpsysadmin.com/tests/phpunit/tests/dbdelta.php:669

Tests_dbDelta::test_index_with_a_reserved_keyword_can_be_created

Tests_dbDelta::test_index_with_a_reserved_keyword_can_be_created
Failed asserting that two arrays are identical.
--- Expected
+++ Actual
@@ @@
 Array &0 (
+    'wptests_dbdelta_test.id' => 'Changed type of wptests_dbdelta_test.id from bigint(20) to bigint'
     'wptests_dbdelta_test.references' => 'Added column wptests_dbdelta_test.references'
     0 => 'Added index wptests_dbdelta_test KEY `compound_key2` (`id`,`references`(191))'
 )

/webs/wpsabot/wpsabot.wpsysadmin.com/tests/phpunit/tests/dbdelta.php:701

Tests_dbDelta::test_key_and_index_and_fulltext_key_and_fulltext_index_and_unique_key_and_unique_index_indicies

Tests_dbDelta::test_key_and_index_and_fulltext_key_and_fulltext_index_and_unique_key_and_unique_index_indicies
Failed asserting that two arrays are identical.
--- Expected
+++ Actual
@@ @@
 Array &0 (
+    'wptests_dbdelta_test.id' => 'Changed type of wptests_dbdelta_test.id from bigint(20) to bigint'
     0 => 'Added index wptests_dbdelta_test KEY `key_2` (`column_1`(191))'
     1 => 'Added index wptests_dbdelta_test UNIQUE KEY `key_3` (`column_1`(191))'
     2 => 'Added index wptests_dbdelta_test UNIQUE KEY `key_4` (`column_1`(191))'
     3 => 'Added index wptests_dbdelta_test FULLTEXT KEY `key_5` (`column_1`)'
 )

/webs/wpsabot/wpsabot.wpsysadmin.com/tests/phpunit/tests/dbdelta.php:743

Tests_dbDelta::test_index_and_key_are_synonyms_and_do_not_recreate_indices

Tests_dbDelta::test_index_and_key_are_synonyms_and_do_not_recreate_indices
Failed asserting that an array is empty.

/webs/wpsabot/wpsabot.wpsysadmin.com/tests/phpunit/tests/dbdelta.php:776

Tests_dbDelta::test_indices_with_prefix_limits_are_created_and_do_not_recreate_indices

Tests_dbDelta::test_indices_with_prefix_limits_are_created_and_do_not_recreate_indices
Failed asserting that two arrays are identical.
--- Expected
+++ Actual
@@ @@
 Array &0 (
+    'wptests_dbdelta_test.id' => 'Changed type of wptests_dbdelta_test.id from bigint(20) to bigint'
     0 => 'Added index wptests_dbdelta_test KEY `key_2` (`column_1`(10))'
     1 => 'Added index wptests_dbdelta_test KEY `key_3` (`column_2`(100),`column_1`(10))'
 )

/webs/wpsabot/wpsabot.wpsysadmin.com/tests/phpunit/tests/dbdelta.php:803

Tests_dbDelta::test_index_col_names_with_order_do_not_recreate_indices

Tests_dbDelta::test_index_col_names_with_order_do_not_recreate_indices
Failed asserting that an array is empty.

/webs/wpsabot/wpsabot.wpsysadmin.com/tests/phpunit/tests/dbdelta.php:834

Tests_dbDelta::test_primary_key_with_single_space_does_not_recreate_index

Tests_dbDelta::test_primary_key_with_single_space_does_not_recreate_index
Failed asserting that an array is empty.

/webs/wpsabot/wpsabot.wpsysadmin.com/tests/phpunit/tests/dbdelta.php:858

Tests_dbDelta::test_index_definitions_with_spaces_do_not_recreate_indices

Tests_dbDelta::test_index_definitions_with_spaces_do_not_recreate_indices
Failed asserting that an array is empty.

/webs/wpsabot/wpsabot.wpsysadmin.com/tests/phpunit/tests/dbdelta.php:882

Tests_dbDelta::test_index_types_are_not_case_sensitive_and_do_not_recreate_indices

Tests_dbDelta::test_index_types_are_not_case_sensitive_and_do_not_recreate_indices
Failed asserting that an array is empty.

/webs/wpsabot/wpsabot.wpsysadmin.com/tests/phpunit/tests/dbdelta.php:906

Tests_dbDelta::test_key_names_are_not_case_sensitive_and_do_not_recreate_indices

Tests_dbDelta::test_key_names_are_not_case_sensitive_and_do_not_recreate_indices
Failed asserting that an array is empty.

/webs/wpsabot/wpsabot.wpsysadmin.com/tests/phpunit/tests/dbdelta.php:931

Tests_dbDelta::test_unchanged_key_lengths_do_not_recreate_index

Tests_dbDelta::test_unchanged_key_lengths_do_not_recreate_index
Failed asserting that an array is empty.

/webs/wpsabot/wpsabot.wpsysadmin.com/tests/phpunit/tests/dbdelta.php:956

Tests_dbDelta::test_changed_key_lengths_do_not_recreate_index

Tests_dbDelta::test_changed_key_lengths_do_not_recreate_index
Failed asserting that two arrays are identical.
--- Expected
+++ Actual
@@ @@
 Array &0 (
+    'wptests_dbdelta_test.id' => 'Changed type of wptests_dbdelta_test.id from bigint(20) to bigint'
     0 => 'Added index wptests_dbdelta_test KEY `changing_key_length` (`column_1`(20))'
 )

/webs/wpsabot/wpsabot.wpsysadmin.com/tests/phpunit/tests/dbdelta.php:983