mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 02:56:15 +00:00
Fixing failing test caused by additional trailing space.
This commit is contained in:
parent
b49c4402e5
commit
ba63a2948c
1 changed files with 1 additions and 2 deletions
|
@ -43,7 +43,6 @@ class ConsoleErrorHandlerTest extends CakeTestCase {
|
|||
*/
|
||||
function tearDown() {
|
||||
parent::tearDown();
|
||||
ConsoleErrorHandler::$stderr = null;
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -52,7 +51,7 @@ class ConsoleErrorHandlerTest extends CakeTestCase {
|
|||
* @return void
|
||||
*/
|
||||
function testHandleError() {
|
||||
$content = '<error>Notice Error:</error> This is a notice error in [/some/file, line 275]';
|
||||
$content = "<error>Notice Error:</error> This is a notice error in [/some/file, line 275]\n";
|
||||
ConsoleErrorHandler::$stderr->expects($this->once())->method('write')
|
||||
->with($content);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue