Skip to content

Commit 5f103a6

Browse files
committed
Laravel 6 test case dir not existing for touch
1 parent 2485d2b commit 5f103a6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/ConsoleTest.php

+4
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ function test_the_install_command_copies_the_configuration()
1414

1515
$this->flushFiles();
1616

17+
if (! File::exists(app_path('../routes'))) {
18+
File::makeDirectory(app_path('../routes'));
19+
}
20+
1721
// dd(app_path('api.php'));
1822
// make sure we're starting from a clean state
1923
if (! File::exists(app_path('../routes/api.php'))) {

0 commit comments

Comments
 (0)