Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 63bfd9e

Browse files
committed
[Doctrine] removed usage of the deprecated LoggerInterface in some tests
1 parent 642c95a commit 63bfd9e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Symfony/Bridge/Doctrine/Tests/Logger/DbalLoggerTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class DbalLoggerTest extends \PHPUnit_Framework_TestCase
1818
*/
1919
public function testLog($sql, $params, $logParams)
2020
{
21-
$logger = $this->getMock('Symfony\\Component\\HttpKernel\\Log\\LoggerInterface');
21+
$logger = $this->getMock('Psr\\Log\\LoggerInterface');
2222

2323
$dbalLogger = $this
2424
->getMockBuilder('Symfony\\Bridge\\Doctrine\\Logger\\DbalLogger')
@@ -47,7 +47,7 @@ public function getLogFixtures()
4747

4848
public function testLogNonUtf8()
4949
{
50-
$logger = $this->getMock('Symfony\\Component\\HttpKernel\\Log\\LoggerInterface');
50+
$logger = $this->getMock('Psr\\Log\\LoggerInterface');
5151

5252
$dbalLogger = $this
5353
->getMockBuilder('Symfony\\Bridge\\Doctrine\\Logger\\DbalLogger')

0 commit comments

Comments
 (0)