Skip to content

Commit 2e01dd8

Browse files
authored
Merge pull request #190 from iMattPro/fixes
Fix Test deprecations
2 parents ca21c36 + 0158b4a commit 2e01dd8

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

tests/controller/admin_controller_test.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1109,7 +1109,6 @@ private function reflection(admin_controller $controller): void
11091109
try {
11101110
$reflection = new ReflectionObject($controller);
11111111
$auth_admin_prop = $reflection->getProperty('auth_admin');
1112-
$auth_admin_prop->setAccessible(true);
11131112
$auth_admin = $auth_admin_prop->getValue($controller);
11141113
$auth_admin->acl_options['id']['u_'] = 0;
11151114
$auth_admin->acl_options['id']['u_phpbb_ads'] = 0;

0 commit comments

Comments
 (0)