Changeset 61420
- Timestamp:
- 12/31/2025 07:00:23 PM (5 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/multisite/populateNetworkHooks.php
r60954 r61420 60 60 $this->assertSame( 1, $this->action_counts['after_populate_network'], 'after_populate_network action should fire once' ); 61 61 62 $this->assert Equals( $network_id, $this->action_args['before_populate_network']['network_id'], 'Network ID should match in before_populate_network hook' );63 $this->assert Equals( $domain, $this->action_args['before_populate_network']['domain'], 'Domain should match in before_populate_network hook' );64 $this->assert Equals( $network_id, $this->action_args['after_populate_network']['network_id'], 'Network ID should match in after_populate_network hook' );65 $this->assert Equals( $domain, $this->action_args['after_populate_network']['domain'], 'Domain should match in after_populate_network hook' );62 $this->assertSame( $network_id, $this->action_args['before_populate_network']['network_id'], 'Network ID should match in before_populate_network hook' ); 63 $this->assertSame( $domain, $this->action_args['before_populate_network']['domain'], 'Domain should match in before_populate_network hook' ); 64 $this->assertSame( $network_id, $this->action_args['after_populate_network']['network_id'], 'Network ID should match in after_populate_network hook' ); 65 $this->assertSame( $domain, $this->action_args['after_populate_network']['domain'], 'Domain should match in after_populate_network hook' ); 66 66 67 67 remove_action( 'before_populate_network', array( $this, 'hook_action_counter' ), 10 );
Note: See TracChangeset
for help on using the changeset viewer.