We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ca21c36 commit 0158b4aCopy full SHA for 0158b4a
1 file changed
tests/controller/admin_controller_test.php
@@ -1109,7 +1109,6 @@ private function reflection(admin_controller $controller): void
1109
try {
1110
$reflection = new ReflectionObject($controller);
1111
$auth_admin_prop = $reflection->getProperty('auth_admin');
1112
- $auth_admin_prop->setAccessible(true);
1113
$auth_admin = $auth_admin_prop->getValue($controller);
1114
$auth_admin->acl_options['id']['u_'] = 0;
1115
$auth_admin->acl_options['id']['u_phpbb_ads'] = 0;
0 commit comments