summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJordi Boggiano <j.boggiano@seld.be>2016-09-19 18:20:42 +0200
committerJordi Boggiano <j.boggiano@seld.be>2016-09-19 18:20:42 +0200
commitc6a9f28e24ee199669f76fd1ae1db2add0b7cf2d (patch)
tree646bbabe0edaf98d582af2dfe40eab23606437b6 /src
parentd3c8c9bea1e4073e86e6ead8ba81597a04e09723 (diff)
downloadmonolog-c6a9f28e24ee199669f76fd1ae1db2add0b7cf2d.zip
monolog-c6a9f28e24ee199669f76fd1ae1db2add0b7cf2d.tar.gz
monolog-c6a9f28e24ee199669f76fd1ae1db2add0b7cf2d.tar.bz2
Fix a ton of tests for latest phpunit and turn faked-stream tests into real network tests with a local server
Diffstat (limited to 'src')
-rw-r--r--src/Monolog/Test/TestCase.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Monolog/Test/TestCase.php b/src/Monolog/Test/TestCase.php
index 7cb7fbf..4ac9172 100644
--- a/src/Monolog/Test/TestCase.php
+++ b/src/Monolog/Test/TestCase.php
@@ -56,7 +56,7 @@ class TestCase extends \PHPUnit_Framework_TestCase
*/
protected function getIdentityFormatter()
{
- $formatter = $this->getMock('Monolog\\Formatter\\FormatterInterface');
+ $formatter = $this->createMock('Monolog\\Formatter\\FormatterInterface');
$formatter->expects($this->any())
->method('format')
->will($this->returnCallback(function ($record) {