From d53738ce7cf6e794a29cc66ee2c6358fb1d2fe9f Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sun, 19 Jun 2022 15:36:11 +0000 Subject: [PATCH] Tests: Refactor `Tests_Image_Functions::test_is_displayable_image_negative()` to use a data provider. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Using a data provider has a number of advantages: 1. If the first test case fails, it won't prevent the other test cases from being tested. 2. While the assertion used in this test method ''does'' have a "failure message" (👍), the output from PHPUnit itself will already be more descriptive in case of failure when using a data provider. 3. Using named test cases in the data provider will also make the `--testdox` output much more descriptive and informative. The actual cases being tested, or the test itself have not been changed. Includes: * Adding a `@covers` annotation. Follow-up to [184/tests], [53495], [53497], [53521], [53523], [53524], [53525]. Props jrf. See #55652. Built from https://develop.svn.wordpress.org/trunk@53526 git-svn-id: http://core.svn.wordpress.org/trunk@53115 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/version.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/version.php b/wp-includes/version.php index 09405300bb..a442e5abb9 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.1-alpha-53525'; +$wp_version = '6.1-alpha-53526'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.