Changeset 56548 for trunk/tests/phpunit/tests/actions.php
- Timestamp:
- 09/08/2023 10:01:14 AM (3 years ago)
- File:
-
- 1 edited
-
trunk/tests/phpunit/tests/actions.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/actions.php
r56352 r56548 76 76 $this->assertSame( 1, $a->get_call_count() ); 77 77 $this->assertSame( array( $hook_name ), $a->get_hook_names() ); 78 79 78 } 80 79 … … 283 282 $this->assertSame( 1, did_action( $hook_name1 ) ); 284 283 $this->assertSame( $count, did_action( $hook_name2 ) ); 285 286 284 } 287 285 … … 310 308 remove_action( 'all', array( &$a, 'action' ) ); 311 309 $this->assertFalse( has_filter( 'all', array( &$a, 'action' ) ) ); 312 313 310 } 314 311
Note: See TracChangeset
for help on using the changeset viewer.