mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
Editor: Replace some accidental double setting up of tests with proper tearing down.
See #55505, #58955 git-svn-id: https://develop.svn.wordpress.org/trunk@56479 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
28cb706629
commit
13becfa68b
@ -18,7 +18,7 @@ class Test_Block_Supports_Border extends WP_UnitTestCase {
|
||||
public function tear_down() {
|
||||
unregister_block_type( $this->test_block_name );
|
||||
$this->test_block_name = null;
|
||||
parent::set_up();
|
||||
parent::tear_down();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@ -18,7 +18,7 @@ class Tests_Block_Supports_Colors extends WP_UnitTestCase {
|
||||
public function tear_down() {
|
||||
unregister_block_type( $this->test_block_name );
|
||||
$this->test_block_name = null;
|
||||
parent::set_up();
|
||||
parent::tear_down();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@ -18,7 +18,7 @@ class Test_Block_Supports_Shadow extends WP_UnitTestCase {
|
||||
public function tear_down() {
|
||||
unregister_block_type( $this->test_block_name );
|
||||
$this->test_block_name = null;
|
||||
parent::set_up();
|
||||
parent::tear_down();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@ -18,7 +18,7 @@ class Test_Block_Supports_Spacing extends WP_UnitTestCase {
|
||||
public function tear_down() {
|
||||
unregister_block_type( $this->test_block_name );
|
||||
$this->test_block_name = null;
|
||||
parent::set_up();
|
||||
parent::tear_down();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Loading…
Reference in New Issue
Block a user