From 81da0c1e180b3a888fbb77bc30f7952083bd970b Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Thu, 10 Nov 2022 13:07:12 +0000 Subject: [PATCH] Tests: Correct the test for `get_blogaddress_by_id()` with a non-existing ID. Due to auto-increment, when running various test groups or classes separately, in this case running all of the tests under `phpunit/tests/multisite/` by including the `--filter Tests_Multisite` parameter, it is entirely possible for the blog ID 42 to actually exist, making the test's assumption incorrect. By using `PHP_INT_MAX` instead, we can avoid a collision with a fixture of another test. Follow-up to [31157]. See #56793. Built from https://develop.svn.wordpress.org/trunk@54791 git-svn-id: http://core.svn.wordpress.org/trunk@54343 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 9b2aae450a..30d4c01cfd 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.2-alpha-54789'; +$wp_version = '6.2-alpha-54791'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.