Changeset 60729 for trunk/tests/phpunit/tests/menu/walker-nav-menu.php
- Timestamp:
- 09/11/2025 02:45:56 PM (4 months ago)
- File:
-
- 1 edited
-
trunk/tests/phpunit/tests/menu/walker-nav-menu.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/menu/walker-nav-menu.php
r59674 r60729 396 396 $build_atts_reflection = new ReflectionMethod( $this->walker, 'build_atts' ); 397 397 398 $build_atts_reflection->setAccessible( true ); 398 if ( PHP_VERSION_ID < 80100 ) { 399 $build_atts_reflection->setAccessible( true ); 400 } 399 401 $actual = $build_atts_reflection->invoke( $this->walker, $atts ); 400 $build_atts_reflection->setAccessible( false ); 402 if ( PHP_VERSION_ID < 80100 ) { 403 $build_atts_reflection->setAccessible( false ); 404 } 401 405 402 406 $this->assertSame( $expected, $actual );
Note: See TracChangeset
for help on using the changeset viewer.