Corrected CliControllerTest.
This commit is contained in:
@ -88,7 +88,7 @@ class CliControllerTest extends PHPUnit_Framework_TestCase
|
|||||||
$error_stream_prop->setValue($cli_controller, $this->stream);
|
$error_stream_prop->setValue($cli_controller, $this->stream);
|
||||||
$cli_controller->execute($cli_class);
|
$cli_controller->execute($cli_class);
|
||||||
rewind($this->stream);
|
rewind($this->stream);
|
||||||
$this->assertContains('Error frdom callback.', stream_get_contents($this->stream));
|
$this->assertContains('Error from callback.', stream_get_contents($this->stream));
|
||||||
}
|
}
|
||||||
|
|
||||||
public function callbackWithThrow()
|
public function callbackWithThrow()
|
||||||
|
Reference in New Issue
Block a user