We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ca21c36 + 0158b4a commit 2e01dd8Copy full SHA for 2e01dd8
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