Skip to content

Commit 731ce03

Browse files
committed
Update
1 parent 17b915c commit 731ce03

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/TestCase.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,10 @@ public function getEnvironmentSetUp($app): void
5757
*/
5858
public function clearPatches(): void
5959
{
60+
if (! is_dir(database_path('patches'))) {
61+
mkdir(database_path('patches'), 0777, true);
62+
}
63+
6064
foreach (glob(database_path('patches').'/*') as $file) {
6165
unlink($file);
6266
}

0 commit comments

Comments
 (0)