Browse Source

Corrected CliControllerTest.

master
Alexander Demidov 13 years ago
parent
commit
ed0c9f207f
  1. 2
      tests/app/CliControllerTest.php

2
tests/app/CliControllerTest.php

@ -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()

Loading…
Cancel
Save