Changeset 54145 for trunk/tests/phpunit/tests/option/option.php
- Timestamp:
- 09/13/2022 07:27:19 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/option/option.php
r53865 r54145 298 298 ); 299 299 } 300 301 /** 302 * @ticket 37930 303 * 304 * @covers ::get_option 305 */ 306 public function test_filter_pre_option_all_filter_is_called() { 307 $filter = new MockAction(); 308 309 add_filter( 'pre_option', array( $filter, 'filter' ) ); 310 311 get_option( 'ignored' ); 312 313 $this->assertSame( 1, $filter->get_call_count() ); 314 } 300 315 }
Note: See TracChangeset
for help on using the changeset viewer.