Skip to content

Commit dfea3cb

Browse files
committed
[2.7][DoctrineBridge] change Logger interface in tests to use Psr\\Log\\LoggerInterface instead of Symfony\\Component\\HttpKernel\\Log\\LoggerInterface"
1 parent 23d4421 commit dfea3cb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Tests/Logger/DbalLoggerTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ public function testLogNonUtf8()
7575

7676
public function testLogLongString()
7777
{
78-
$logger = $this->getMock('Symfony\\Component\\HttpKernel\\Log\\LoggerInterface');
78+
$logger = $this->getMock('Psr\\Log\\LoggerInterface');
7979

8080
$dbalLogger = $this
8181
->getMockBuilder('Symfony\\Bridge\\Doctrine\\Logger\\DbalLogger')
@@ -107,7 +107,7 @@ public function testLogUTF8LongString()
107107
$this->markTestSkipped('Testing log shortening of utf8 charsets requires the mb_detect_encoding() function.');
108108
}
109109

110-
$logger = $this->getMock('Symfony\\Component\\HttpKernel\\Log\\LoggerInterface');
110+
$logger = $this->getMock('Psr\\Log\\LoggerInterface');
111111

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

0 commit comments

Comments
 (0)