Corrected CliControllerTest.

This commit is contained in:
Alexander Demidov
2012-07-19 17:05:56 +04:00
parent 72ac3e2176
commit ed0c9f207f

View File

@ -88,7 +88,7 @@ class CliControllerTest extends PHPUnit_Framework_TestCase
$error_stream_prop->setValue($cli_controller, $this->stream);
$cli_controller->execute($cli_class);
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()