test if will fix ci actions

This commit is contained in:
2025-09-10 23:29:40 -07:00
parent db79a636b3
commit 77283191ef

View File

@@ -41,7 +41,7 @@ class BaseControllerTest extends TestCase
$newName = $productsFolder . DS . '2c386086-f4c5-4093-bea5-ee9c29479f58.png'; $newName = $productsFolder . DS . '2c386086-f4c5-4093-bea5-ee9c29479f58.png';
if (file_exists($toCopy)) { if (file_exists($toCopy)) {
if (!file_exists($productsFolder)) { if (!file_exists($productsFolder)) {
mkdir($productsFolder); mkdir($productsFolder, 0775, true);
} }
copy($toCopy, $newName); copy($toCopy, $newName);
} }