Tests: Use assertSame() in some newly introduced tests.

This ensures that not only the return values match the expected results, but also that their type is the same.

Going forward, stricter type checking by using `assertSame()` should generally be preferred to `assertEquals()` where appropriate, to make the tests more reliable.

Follow-up to [59630].

See #62278.
Built from https://develop.svn.wordpress.org/trunk@59985


git-svn-id: http://core.svn.wordpress.org/trunk@59327 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov
2025-03-15 23:28:31 +00:00
parent b41f5083de
commit ca3aa2df3e

View File

@@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '6.8-beta2-59984';
$wp_version = '6.8-beta2-59985';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.