|
@ -48,11 +48,6 @@ class FileLoggerTest extends PHPUnit_Framework_TestCase |
|
|
$this->assertInstanceOf('FileLogger', $logger); |
|
|
$this->assertInstanceOf('FileLogger', $logger); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
/** |
|
|
|
|
|
* @runInSeparateProcess |
|
|
|
|
|
* @expected Exception GeneralException |
|
|
|
|
|
* @expected ExceptionMessage Could not open file /log.txt |
|
|
|
|
|
*/ |
|
|
|
|
|
public function testCannotWrite() |
|
|
public function testCannotWrite() |
|
|
{ |
|
|
{ |
|
|
if (!defined('DEBUG')) { |
|
|
if (!defined('DEBUG')) { |
|
|