From 9d5f8481dfeddf806b30c2575e83ff6880e4ec7e Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Tue, 23 Apr 2024 18:57:12 +0000 Subject: [PATCH] Tests: Add a `$message` parameter for a custom assertion in `WP_Test_REST_TestCase`. All assertions in PHPUnit have a `$message` parameter. Setting this parameter allows to distinguish which assertion is failing when a test runs multiple assertions, making debugging of the tests easier. This optional parameter is now added for `WP_Test_REST_TestCase::assertErrorResponse()`. Follow-up to [34928], [51478]. Props mykolashlyakhtun, antonvlasenko, swissspidy, SergeyBiryukov. Fixes #60426. Built from https://develop.svn.wordpress.org/trunk@58039 git-svn-id: http://core.svn.wordpress.org/trunk@57505 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 7dda44a575..b23eb78bfd 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.6-alpha-58037'; +$wp_version = '6.6-alpha-58039'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.