Skip to content

Commit 3e4fffc

Browse files
authored
Simplify the test for enabling API routes (#730)
1 parent 536879b commit 3e4fffc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/Feature/Generators/RouteGeneratorTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ public function output_uncomments_api_route_line_in_bootstrap_if_commented(): vo
178178
{
179179
$this->filesystem->expects('get')
180180
->with('bootstrap/app.php')
181-
->andReturn("// api: \nweb: __DIR__.'/../routes/web.php',");
181+
->andReturn('// api: ');
182182

183183
$this->filesystem->shouldReceive('replaceInFile')
184184
->with('// api: ', 'api: ', 'bootstrap/app.php')

0 commit comments

Comments
 (0)