mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-04 12:17:35 +02:00
Change Test.. но __toString method called..
This commit is contained in:
@@ -207,7 +207,7 @@ class NormalizerFormatterTest extends \PHPUnit_Framework_TestCase
|
|||||||
);
|
);
|
||||||
|
|
||||||
if (version_compare(PHP_VERSION, '5.5.0', '>=')) {
|
if (version_compare(PHP_VERSION, '5.5.0', '>=')) {
|
||||||
$pattern = '%"wrappedResource":"\[object\] \(Monolog\\\\\\\\Formatter\\\\\\\\TestStreamFoo: \)"%';
|
$pattern = '%"wrappedResource":"\[object\] \(Monolog\\\\\\\\Formatter\\\\\\\\TestStreamFoo: BAR - test_resource\)"%';
|
||||||
} else {
|
} else {
|
||||||
$pattern = '%\\\\"resource\\\\":null%';
|
$pattern = '%\\\\"resource\\\\":null%';
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user