From 0e15363777e1fffb9b4892a9f8a47cb608324813 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Fri, 11 Aug 2023 23:58:40 +0800 Subject: [PATCH] wip Signed-off-by: Mior Muhammad Zaki --- tests/Browser/RouteTest.php | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/tests/Browser/RouteTest.php b/tests/Browser/RouteTest.php index cbdb3553..aaa534b7 100644 --- a/tests/Browser/RouteTest.php +++ b/tests/Browser/RouteTest.php @@ -8,15 +8,13 @@ class RouteTest extends TestCase { /** - * Define environment setup. + * Define routes setup. * - * @param Illuminate\Foundation\Application $app + * @param \Illuminate\Routing\Router $router * @return void */ - protected function defineEnvironment($app) + protected function defineRoutes($router) { - $router = $app['router']; - $router->get('hello', ['uses' => function () { return 'hello world'; }]);