diff --git a/tests/unit/workflow/engine/controllers/DesignerTest.php b/tests/unit/workflow/engine/controllers/DesignerTest.php index 7ba5cbb3f..dd1748006 100644 --- a/tests/unit/workflow/engine/controllers/DesignerTest.php +++ b/tests/unit/workflow/engine/controllers/DesignerTest.php @@ -49,6 +49,17 @@ class DesignerTest extends TestCase //Turn on output buffering ob_start(); + //Creates the buildhash file just in case it does not exist + if (!file_exists(PATH_HTML . "lib/buildhash")) { + if (!file_exists(PATH_HTML . "lib")) { + if (!file_exists(PATH_HTML)) { + mkdir(PATH_HTML); + } + mkdir(PATH_HTML . "lib"); + } + fopen(PATH_HTML . "lib/buildhash", "w"); + } + //Call the index method $object->index($httpData);