Lines:
1 to 20 of 20
<?php /** * WP_REST_Blocks_Controller tests * * @package WordPress * @subpackage REST_API * @since 5.0.0 */ /* class REST_Blocks_Controller_Test */ /* function REST_Blocks_Controller_Test::wpSetUpBeforeClass() – Create fake data before our tests run. */ /* function REST_Blocks_Controller_Test::wpTearDownAfterClass() – Delete our fake data after our tests run. */ /* function REST_Blocks_Controller_Test::data_capabilities() – Test cases for test_capabilities(). */ /* function REST_Blocks_Controller_Test::test_capabilities() – Exhaustively check that each role either can or cannot create, edit, update, and delete reusable blocks. */ /* function REST_Blocks_Controller_Test::test_content() – Check that the raw title and content of a block can be accessed when there is no set schema, and that the rendered content of a block is not included in the response. */