Skip to content

Commit e327974

Browse files
committed
tests
1 parent 9203bfc commit e327974

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

tests/Application/ApplicationTest.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,6 @@ public function testOnErrorReturnsTrue()
474474
// Use reflection to call protected onError
475475
$reflection = new \ReflectionClass($this->_App);
476476
$method = $reflection->getMethod('onError');
477-
$method->setAccessible(true);
478477

479478
// Parent's onError returns true (AppMock overrides to return false)
480479
$app = new AppMock("1.0", new Ini('examples/config/application.ini'));
@@ -511,7 +510,6 @@ public function testExecuteInitializersRunsInitializers()
511510
// Use reflection to call protected executeInitializers
512511
$reflection = new \ReflectionClass($this->_App);
513512
$method = $reflection->getMethod('executeInitializers');
514-
$method->setAccessible(true);
515513

516514
$method->invoke($this->_App);
517515

0 commit comments

Comments
 (0)