Permalink
Browse files

Fix E_NOTICE.

  • Loading branch information...
1 parent 30069de commit 89f743bd07d6f7b4b5d39207712ce55b5a923875 @sebastianbergmann committed Aug 11, 2006
Showing with 1 addition and 4 deletions.
  1. +1 −4 PHPUnit/TextUI/TestRunner.php
@@ -142,10 +142,6 @@ protected function start(Array $arguments)
$loaderName = FALSE;
$repeat = FALSE;
- $parameters = array(
- 'wait' => FALSE
- );
-
$possibleOptions = array(
'help',
'filter=',
@@ -366,6 +362,7 @@ protected function createTestResult()
public function doRun(PHPUnit_Framework_Test $suite, Array $parameters = array())
{
$parameters['filter'] = isset($parameters['filter']) ? $parameters['filter'] : FALSE;
+ $parameters['wait'] = isset($parameters['wait']) ? $parameters['wait'] : FALSE;
if (isset($parameters['graphvizDirectory'])) {
$parameters['graphvizDirectory'] = $this->getDirectory($parameters['graphvizDirectory']);

0 comments on commit 89f743b

Please sign in to comment.