diff --git a/tests/Alchemy/Tests/Phrasea/Command/Setup/InstallTest.php b/tests/Alchemy/Tests/Phrasea/Command/Setup/InstallTest.php index f05831d94b..f8e0a8b5a1 100644 --- a/tests/Alchemy/Tests/Phrasea/Command/Setup/InstallTest.php +++ b/tests/Alchemy/Tests/Phrasea/Command/Setup/InstallTest.php @@ -12,6 +12,21 @@ use Alchemy\Phrasea\Core\Configuration\StructureTemplate; */ class InstallTest extends \PhraseanetTestCase { + private $bkp = null; + + public function setUp() + { + parent::setUp(); + $this->bkp = self::$DI['app']['conf']->get('main'); + } + + public function tearDown() + { + self::$DI['app']['conf']->set('main', $this->bkp); + parent::tearDown(); + } + + public function testRunWithoutProblems() { $input = $this->getMock('Symfony\Component\Console\Input\InputInterface');