You appear to be a bot. Output may be restricted
Description
Declare an expected_doing_it_wrong()
call from within a test.
Usage
WP_UnitTestCase::setExpectedIncorrectUsage( $doing_it_wrong );
Parameters
- $doing_it_wrong
- ( mixed ) required –
Returns
voidSource
File name: oik-batch/tests/testcase.phpLines:
1 to 3 of 3
public function setExpectedIncorrectUsage( $doing_it_wrong ) { array_push( $this->expected_doing_it_wrong, $doing_it_wrong ); }View on GitHub