Skip to content
This repository has been archived by the owner on Jan 11, 2023. It is now read-only.

Commit

Permalink
Merge remote-tracking branch 'origin/bugfix/schedulerTask-Functionalt…
Browse files Browse the repository at this point in the history
…est-Fix'
  • Loading branch information
Christian Keuerleber committed Feb 19, 2020
2 parents f93d278 + 91248dc commit 093b310
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Tests/Functional/Scheduler/SchedulerTaskTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,12 @@ protected function setUp()
{
$this->prepareTestPaths();
Files::createDirectoryRecursively($this->testFilePath);

if(file_exists($this->logFilePath))
{
unlink($this->logFilePath);
}

touch($this->logFilePath);

$this->schedulerTaskId = $this->getTestTaskId();
Expand All @@ -73,7 +79,6 @@ protected function setUp()
*/
public function schedulerTask()
{

shell_exec(PATH_typo3.'cli_dispatch.phpsh scheduler -f -i '. $this->schedulerTaskId);

$this->objectInitializationSuccessful();
Expand Down

0 comments on commit 093b310

Please sign in to comment.