Methods
1 to 5 of 5
- REST_Blocks_Controller_Test::data_capabilities() – Test cases for test_capabilities().
- REST_Blocks_Controller_Test::test_capabilities() – Exhaustively check that each role either can or cannot create, edit, update, and delete reusable blocks.
- 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.
- REST_Blocks_Controller_Test::wpSetUpBeforeClass() – Create fake data before our tests run.
- REST_Blocks_Controller_Test::wpTearDownAfterClass() – Delete our fake data after our tests run.