projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
76f5ed0
)
Fix effect across tests.
author
Gunnar Wrobel
<p@rdus.de>
Thu, 11 Nov 2010 18:35:49 +0000
(19:35 +0100)
committer
Gunnar Wrobel
<p@rdus.de>
Thu, 11 Nov 2010 21:31:12 +0000
(22:31 +0100)
components/test/Components/StoryTestCase.php
patch
|
blob
|
history
diff --git
a/components/test/Components/StoryTestCase.php
b/components/test/Components/StoryTestCase.php
index
c12bac4
..
a92fabd
100644
(file)
--- 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(