setUpBeforeClass must always call its parent
This commit is contained in:
parent
8fd34983a5
commit
620008d46a
|
@ -50,6 +50,8 @@ class WC_Unit_Test_Case extends WP_HTTP_TestCase {
|
|||
* @since 3.5.0
|
||||
*/
|
||||
public static function setUpBeforeClass() {
|
||||
parent::setUpBeforeClass();
|
||||
|
||||
// Terms are deleted in WP_UnitTestCase::tearDownAfterClass, then e.g. Uncategorized product_cat is missing.
|
||||
WC_Install::create_terms();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue