From: Gunnar Wrobel
Date: Thu, 11 Nov 2010 18:35:49 +0000 (+0100) Subject: Fix effect across tests. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=8216be9fa23e3f275e5877cd57173218053db2fa;p=horde.git Fix effect across tests. --- diff --git a/components/test/Components/StoryTestCase.php b/components/test/Components/StoryTestCase.php index c12bac482..a92fabdbd 100644 --- a/components/test/Components/StoryTestCase.php +++ b/components/test/Components/StoryTestCase.php @@ -267,6 +267,7 @@ extends PHPUnit_Extensions_Story_TestCase break; case 'calling the package with the devpackage option, the archive directory option and a path to an invalid Horde framework component': $this->_setPearGlobals(); + $cwd = getcwd(); $_SERVER['argv'] = array( 'horde-components', '--verbose', @@ -280,6 +281,7 @@ extends PHPUnit_Extensions_Story_TestCase ob_end_clean(); $world['output'] = (string) $e; } + chdir($cwd); break; case 'calling the package with the distribute option and a path to a Horde framework component': $_SERVER['argv'] = array(