Changeset 52389 for trunk/tests/phpunit/tests/actions.php
- Timestamp:
- 12/19/2021 01:42:37 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/actions.php
r52010 r52389 241 241 $this->assertSame( 0, did_action( $tag2 ) ); 242 242 243 // Do action $tag2 a random number oftimes.244 $count = rand( 0, 10 );243 // Do action $tag2 10 times. 244 $count = 10; 245 245 for ( $i = 0; $i < $count; $i++ ) { 246 246 do_action( $tag2 );
Note: See TracChangeset
for help on using the changeset viewer.