File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -316,15 +316,16 @@ public function testCanAddAndExecuteHooks()
316316 $ this ->assertEquals ('x-def ' , $ result );
317317 }
318318
319- public function testAllowRouteOverrides () {
319+ public function testAllowRouteOverrides ()
320+ {
320321 App::setAllowOverride (false );
321322 $ this ->assertFalse (App::getAllowOverride ());
322323 App::get ('/ ' )->action (function () {
323324 echo 'Hello first ' ;
324325 });
325326
326327 $ this ->expectException (Exception::class);
327- App::get ('/ ' )->action (function () {
328+ App::get ('/ ' )->action (function () {
328329 echo 'Hello second ' ;
329330 });
330331
@@ -335,10 +336,9 @@ public function testAllowRouteOverrides() {
335336 echo 'Hello first ' ;
336337 });
337338
338- App::get ('/ ' )->action (function () {
339+ App::get ('/ ' )->action (function () {
339340 echo 'Hello second ' ;
340341 });
341-
342342 }
343343
344344 public function testCanHookThrowExceptions ()
You can’t perform that action at this time.
0 commit comments