We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 17b915c commit 731ce03Copy full SHA for 731ce03
tests/TestCase.php
@@ -57,6 +57,10 @@ public function getEnvironmentSetUp($app): void
57
*/
58
public function clearPatches(): void
59
{
60
+ if (! is_dir(database_path('patches'))) {
61
+ mkdir(database_path('patches'), 0777, true);
62
+ }
63
+
64
foreach (glob(database_path('patches').'/*') as $file) {
65
unlink($file);
66
}
0 commit comments