Changeset 44719 for trunk/tests/phpunit/includes/abstract-testcase.php
- Timestamp:
- 01/30/2019 02:30:42 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/includes/abstract-testcase.php
r44701 r44719 138 138 139 139 /** 140 * Detect post-test failure conditions.141 *142 * We use this method to detect expectedDeprecated and expectedIncorrectUsage annotations.143 *144 * @since 4.2.0145 */146 protected function assertPostConditions() {147 $this->expectedDeprecated();148 }149 150 /**151 140 * After a test method runs, reset any state in WordPress the test method might have changed. 152 141 */ … … 447 436 $this->assertEmpty( $errors, implode( "\n", $errors ) ); 448 437 } 438 } 439 440 /** 441 * Detect post-test failure conditions. 442 * 443 * We use this method to detect expectedDeprecated and expectedIncorrectUsage annotations. 444 * 445 * @since 4.2.0 446 */ 447 protected function assertPostConditions() { 448 $this->expectedDeprecated(); 449 449 } 450 450
Note: See TracChangeset
for help on using the changeset viewer.