From 8216be9fa23e3f275e5877cd57173218053db2fa Mon Sep 17 00:00:00 2001 From: Gunnar Wrobel
Date: Thu, 11 Nov 2010 19:35:49 +0100 Subject: [PATCH] Fix effect across tests. --- components/test/Components/StoryTestCase.php | 2 ++ 1 file changed, 2 insertions(+) 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( -- 2.11.0