Docs: Correct some inline docs for the Ajax test case.
See #41017 git-svn-id: https://develop.svn.wordpress.org/trunk@41119 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
94d95184b0
commit
28e67acdce
@ -23,7 +23,7 @@ abstract class WP_Ajax_UnitTestCase extends WP_UnitTestCase {
|
|||||||
protected $_last_response = '';
|
protected $_last_response = '';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* List of ajax actions called via POST
|
* List of ajax actions called via GET
|
||||||
* @var array
|
* @var array
|
||||||
*/
|
*/
|
||||||
protected static $_core_actions_get = array(
|
protected static $_core_actions_get = array(
|
||||||
@ -38,7 +38,7 @@ abstract class WP_Ajax_UnitTestCase extends WP_UnitTestCase {
|
|||||||
protected $_error_level = 0;
|
protected $_error_level = 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* List of ajax actions called via GET
|
* List of ajax actions called via POST
|
||||||
* @var array
|
* @var array
|
||||||
*/
|
*/
|
||||||
protected static $_core_actions_post = array(
|
protected static $_core_actions_post = array(
|
||||||
@ -79,7 +79,7 @@ abstract class WP_Ajax_UnitTestCase extends WP_UnitTestCase {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Set up the test fixture.
|
* Set up the test fixture.
|
||||||
* Override wp_die(), pretend to be ajax, and suppres E_WARNINGs
|
* Override wp_die(), pretend to be ajax, and suppress E_WARNINGs
|
||||||
*/
|
*/
|
||||||
public function setUp() {
|
public function setUp() {
|
||||||
parent::setUp();
|
parent::setUp();
|
||||||
|
Loading…
Reference in New Issue
Block a user