From 3e4fffca79a1d67b4dd7624a1dccca622ccece73 Mon Sep 17 00:00:00 2001 From: Nico Devs Date: Sat, 4 Jan 2025 11:07:22 -0300 Subject: [PATCH] Simplify the test for enabling API routes (#730) --- tests/Feature/Generators/RouteGeneratorTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Feature/Generators/RouteGeneratorTest.php b/tests/Feature/Generators/RouteGeneratorTest.php index 2458bd14..beef80a6 100644 --- a/tests/Feature/Generators/RouteGeneratorTest.php +++ b/tests/Feature/Generators/RouteGeneratorTest.php @@ -178,7 +178,7 @@ public function output_uncomments_api_route_line_in_bootstrap_if_commented(): vo { $this->filesystem->expects('get') ->with('bootstrap/app.php') - ->andReturn("// api: \nweb: __DIR__.'/../routes/web.php',"); + ->andReturn('// api: '); $this->filesystem->shouldReceive('replaceInFile') ->with('// api: ', 'api: ', 'bootstrap/app.php')