Changeset 60729 for trunk/tests/phpunit/tests/multisite/network.php
- Timestamp:
- 09/11/2025 02:45:56 PM (5 months ago)
- File:
-
- 1 edited
-
trunk/tests/phpunit/tests/multisite/network.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/multisite/network.php
r60666 r60729 158 158 $reflection = new ReflectionObject( $network ); 159 159 $property = $reflection->getProperty( 'id' ); 160 $property->setAccessible( true ); 160 if ( PHP_VERSION_ID < 80100 ) { 161 $property->setAccessible( true ); 162 } 161 163 162 164 $this->assertSame( (int) $id, $property->getValue( $network ) ); … … 195 197 $reflection = new ReflectionObject( $network ); 196 198 $property = $reflection->getProperty( 'blog_id' ); 197 $property->setAccessible( true ); 199 if ( PHP_VERSION_ID < 80100 ) { 200 $property->setAccessible( true ); 201 } 198 202 199 203 $this->assertIsString( $property->getValue( $network ) );
Note: See TracChangeset
for help on using the changeset viewer.