File tree Expand file tree Collapse file tree 2 files changed +0
-2
lines changed
tests/WebFiori/Tests/Http Expand file tree Collapse file tree 2 files changed +0
-2
lines changed Original file line number Diff line number Diff line change @@ -1026,7 +1026,6 @@ private function configureServiceParameters(WebService $service): void {
10261026
10271027 if ($ targetMethod && method_exists ($ service , 'configureParametersForMethod ' )) {
10281028 $ reflection = new \ReflectionMethod ($ service , 'configureParametersForMethod ' );
1029- $ reflection ->setAccessible (true );
10301029 $ reflection ->invoke ($ service , $ targetMethod );
10311030 }
10321031 }
Original file line number Diff line number Diff line change @@ -94,7 +94,6 @@ public function testHandleExceptionMethod() {
9494 // Test the handleException method directly
9595 $ reflection = new \ReflectionClass ($ service );
9696 $ method = $ reflection ->getMethod ('handleException ' );
97- $ method ->setAccessible (true );
9897
9998 // The method should not throw an exception
10099 $ this ->expectNotToPerformAssertions ();
You can’t perform that action at this time.
0 commit comments