We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9203bfc commit e327974Copy full SHA for e327974
1 file changed
tests/Application/ApplicationTest.php
@@ -474,7 +474,6 @@ public function testOnErrorReturnsTrue()
474
// Use reflection to call protected onError
475
$reflection = new \ReflectionClass($this->_App);
476
$method = $reflection->getMethod('onError');
477
- $method->setAccessible(true);
478
479
// Parent's onError returns true (AppMock overrides to return false)
480
$app = new AppMock("1.0", new Ini('examples/config/application.ini'));
@@ -511,7 +510,6 @@ public function testExecuteInitializersRunsInitializers()
511
510
// Use reflection to call protected executeInitializers
512
513
$method = $reflection->getMethod('executeInitializers');
514
515
516
$method->invoke($this->_App);
517
0 commit comments