mirror of
git://develop.git.wordpress.org/
synced 2025-03-21 04:20:01 +01:00
Tests: Rename classes in phpunit/tests/block-supports/
per the naming conventions.
https://make.wordpress.org/core/handbook/testing/automated-testing/writing-phpunit-tests/#naming-and-organization Follow-up to [52069], as a continuation of the previous changes in [47780], [48911], [49327], [50291], [50292], [50342], [50452], [50453], [50456], [50967], [50968], [50969], [51491], [51492], [51493], [51623], [51639], [51646], [51650], [51651], [51860]. See #53363. git-svn-id: https://develop.svn.wordpress.org/trunk@52264 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
72e36d0b86
commit
e5882f4c20
@ -2,7 +2,7 @@
|
||||
/**
|
||||
* @group block-supports
|
||||
*/
|
||||
class WP_Block_Supports_Colors_Test extends WP_UnitTestCase {
|
||||
class Tests_Block_Supports_Colors extends WP_UnitTestCase {
|
||||
|
||||
function test_color_slugs_with_numbers_are_kebab_cased_properly() {
|
||||
register_block_type(
|
||||
|
@ -2,7 +2,7 @@
|
||||
/**
|
||||
* @group block-supports
|
||||
*/
|
||||
class WP_Block_Supports_Elements_Test extends WP_UnitTestCase {
|
||||
class Tests_Block_Supports_Elements extends WP_UnitTestCase {
|
||||
/**
|
||||
* Given a string containing a class prefixed by "wp-elements-" followed by a unique id,
|
||||
* this function returns a string where the id is one instead of being unique.
|
||||
|
@ -2,7 +2,7 @@
|
||||
/**
|
||||
* @group block-supports
|
||||
*/
|
||||
class WP_Block_Supports_Spacing_Test extends WP_UnitTestCase {
|
||||
class Tests_Block_Supports_Spacing extends WP_UnitTestCase {
|
||||
private $sample_block_content = '<div class="wp-block-test-block">Test</div>';
|
||||
private $test_gap_block_value = array();
|
||||
private $test_gap_block_args = array();
|
||||
|
@ -2,7 +2,7 @@
|
||||
/**
|
||||
* @group block-supports
|
||||
*/
|
||||
class WP_Block_Supports_Typography_Test extends WP_UnitTestCase {
|
||||
class Tests_Block_Supports_Typography extends WP_UnitTestCase {
|
||||
|
||||
function test_font_size_slug_with_numbers_is_kebab_cased_properly() {
|
||||
register_block_type(
|
||||
|
Loading…
x
Reference in New Issue
Block a user