Changeset 53942 for trunk/tests/phpunit/tests/actions.php
- Timestamp:
- 08/25/2022 03:34:24 PM (3 years ago)
- File:
-
- 1 edited
-
trunk/tests/phpunit/tests/actions.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/actions.php
r53808 r53942 7 7 */ 8 8 class Tests_Actions extends WP_UnitTestCase { 9 10 /** 11 * Flag to keep track whether a certain filter has been applied. 12 * 13 * Used in the `test_doing_filter_real()` test method. 14 * 15 * @var bool 16 */ 17 private $apply_testing_filter = false; 18 19 /** 20 * Flag to keep track whether a certain filter has been applied. 21 * 22 * Used in the `test_doing_filter_real()` test method. 23 * 24 * @var bool 25 */ 26 private $apply_testing_nested_filter = false; 27 28 /** 29 * Clean up after each test. 30 */ 31 public function tear_down() { 32 // Make sure potentially changed properties are reverted to their default value. 33 $this->apply_testing_filter = false; 34 $this->apply_testing_nested_filter = false; 35 36 parent::tear_down(); 37 } 9 38 10 39 /**
Note: See TracChangeset
for help on using the changeset viewer.