mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-01 15:50:09 +00:00
Tests: Move and fix incorrectly placed tests for block supported styles.
The `Block_Supported_Styles_Test` class is not a `TestCase` to be extended, but an actual concrete test class. In order to run as expected, it should be placed under `phpunit/tests/blocks/` along with the other block tests. Additionally: * Add missing visibility keywords to test methods. * Update the expected results to the currently used format for the tests to pass. * Remove two outdated tests. The functionality being tested there is no longer available in this manner, so these tests are redundant. Follow-up to [49226], [49310]. Props jrf, aristath, youknowriad. See #53363. git-svn-id: https://develop.svn.wordpress.org/trunk@51490 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -203,7 +203,6 @@ require __DIR__ . '/testcase-rest-controller.php';
|
||||
require __DIR__ . '/testcase-rest-post-type-controller.php';
|
||||
require __DIR__ . '/testcase-xmlrpc.php';
|
||||
require __DIR__ . '/testcase-ajax.php';
|
||||
require __DIR__ . '/testcase-block-supports.php';
|
||||
require __DIR__ . '/testcase-canonical.php';
|
||||
require __DIR__ . '/testcase-xml.php';
|
||||
require __DIR__ . '/exceptions.php';
|
||||
|
||||
Reference in New Issue
Block a user