[wp-trac] [WordPress Trac] #55791: Readme: Update MariaDB minimum version requirement.
WordPress Trac
noreply at wordpress.org
Tue Sep 6 00:11:35 UTC 2022
#55791: Readme: Update MariaDB minimum version requirement.
--------------------------------------+-----------------------------
Reporter: hellofromTonya | Owner: SergeyBiryukov
Type: task (blessed) | Status: closed
Priority: normal | Milestone: 6.1
Component: General | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests | Focuses:
--------------------------------------+-----------------------------
Comment (by SergeyBiryukov):
In [changeset:"54076" 54076]:
{{{
#!CommitTicketReference repository="" revision="54076"
Tests: Correct the tests for Site Health SQL versions matching
`readme.html`.
These tests should check the initial `$mysql_recommended_version` and
`$mariadb_recommended_version` properties, as
`WP_Site_Health::prepare_sql_data()` redefines the former with the latter
to simplify further processing if MariaDB is used, leading to a test
failure:
{{{
Tests_Site_Health::test_mysql_recommended_version_matches_readme_html
Failed asserting that two strings are identical.
--- Expected
+++ Actual
@@ @@
-'5.7'
+'10.3'
}}}
This commit uses the initial property values to ensure the correct
versions are being compared.
Follow-up to [54069].
See #55791.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/55791#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list