Tests: Move loading the `WP_Community_Events` class to `set_up_before_class()`.

This ensures that the class is loaded once before the first test of the test case class is run, and `require_once()` is not unnecessarily called for each test method individually.

Follow-up to [40607], [51628].

See #53363.
Built from https://develop.svn.wordpress.org/trunk@51641


git-svn-id: http://core.svn.wordpress.org/trunk@51247 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2021-08-19 14:00:57 +00:00
parent 590f56db3b
commit 87bd00ac5b
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.9-alpha-51639';
$wp_version = '5.9-alpha-51641';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.