Tests: Use shared post fixture in comment template tests.

This reinstates [49848], previously reverted in [49849], with the addition of `static` keyword for the `wpSetUpBeforeClass()` method, allowing the tests to pass on PHP 8.

Props peterwilsoncc.
See #51802.
Built from https://develop.svn.wordpress.org/trunk@49863


git-svn-id: http://core.svn.wordpress.org/trunk@49582 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2020-12-22 07:44:06 +00:00
parent ec80a9fd63
commit aedf6c6443
1 changed files with 1 additions and 1 deletions

View File

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