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 459efda commit 8f9d106Copy full SHA for 8f9d106
src/Tests/PersistUnit/ModelTest.php
@@ -168,7 +168,10 @@ public function setUp(){
168
parent::setUp();
169
170
$errorlogFile = self::$errorLogDir.'/'. md5($this->getName());
171
-
+ // create the error log file , and make it writable by www-data and test executor
172
+ file_put_contents($errorlogFile, '');
173
+ chmod($errorlogFile, 0777);
174
+
175
$traces = [];
176
if(self::$enablePersistenceTrace){$traces['Persistence'] = $errorlogFile;}
177
if(self::$enableApplicationTrace){$traces['Application'] = $errorlogFile;}
0 commit comments