Tests: Use the function get_num_queries across all unit tests.

Replace use of `$wpdb->num_queries` with a function call to `get_num_queries`. This improves readability and consistency between tests. 

Props SergeyBiryukov, peterwilsoncc, spacedmonkey.
See #57841.
Built from https://develop.svn.wordpress.org/trunk@55745


git-svn-id: http://core.svn.wordpress.org/trunk@55257 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
spacedmonkey 2023-05-11 10:07:23 +00:00
parent 7119126dc3
commit 19217af74d

View File

@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '6.3-alpha-55744';
$wp_version = '6.3-alpha-55745';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.