From e2c7a4cd4367407dd9cb90f7adaf55dab6d656cb Mon Sep 17 00:00:00 2001 From: "a.cianfarani" Date: Mon, 28 Oct 2013 17:41:15 +0100 Subject: [PATCH] Added chdir because atoum as bundle need to be run from app root path --- PHPCI/Plugin/Atoum.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PHPCI/Plugin/Atoum.php b/PHPCI/Plugin/Atoum.php index 54783b07..464756be 100644 --- a/PHPCI/Plugin/Atoum.php +++ b/PHPCI/Plugin/Atoum.php @@ -45,7 +45,7 @@ class Atoum implements \PHPCI\Plugin $dirPath = $this->phpci->buildPath . DIRECTORY_SEPARATOR . $this->directory; $cmd .= " -d '{$dirPath}'"; } - + chdir($this->phpci->buildPath); $output = ''; $status = true; exec($cmd, $output);