• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer
WordPress develop tests

WordPress develop tests

WordPress develop tests a2z

  • Home
  • Plugins
  • Shortcodes
  • APIs
  • Classes
  • Files
  • Hooks
  • Sitemap
  • Blog
Home / Classes / REST_Blocks_Controller_Test

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.

Extended by

Class name: REST_Blocks_Controller_Test
Plugin ref: WordPress develop tests
Version: 5.3
Sourcefile: phpunit/tests/rest-api/rest-blocks-controller.php
File ref: phpunit/tests/rest-api/rest-blocks-controller.php
API Letters: B,C,R,T

Published: 26th November 2019 | Last updated: 27th November 2019

Primary Sidebar

Information

Class name: REST_Blocks_Controller_Test
Plugin ref: WordPress develop tests
Version: 5.3
Sourcefile: phpunit/tests/rest-api/rest-blocks-controller.php
File ref: phpunit/tests/rest-api/rest-blocks-controller.php
API Letters: B,C,R,T

Footer

WordPress develop tests WordPress develop tests
WordPress develop tests a2z
WordPress 5.3.1
WordPress a2z
WordPress core a2z
Genesis Theme Framework a2z
Jetpack a2z
WordPress develop tests
Easy Digital Downloads a2z
WooCommerce a2z
Yoast SEO a2z
WordPress Blocks

Site:  develop.wp-a2z.org
© Copyright WordPress develop tests 2014-2019. All rights reserved.


Website designed and developed by Herb Miller
Proudly powered by WordPress and oik plugins

  • Home
  • Blog
  • Sitemap
  • Sites