diff --git a/tests/PdoCommandTest.php b/tests/PdoCommandTest.php index af9a86ef9..f0130fdc2 100644 --- a/tests/PdoCommandTest.php +++ b/tests/PdoCommandTest.php @@ -4,9 +4,9 @@ namespace Yiisoft\Db\Pgsql\Tests; -use Psr\Log\LoggerAwareInterface; use Yiisoft\Db\Driver\Pdo\AbstractPdoCommand; use Yiisoft\Db\Driver\Pdo\PdoCommandInterface; +use Yiisoft\Db\Logger\DbLoggerAwareInterface; use Yiisoft\Db\Pgsql\Tests\Support\TestTrait; use Yiisoft\Db\Tests\Common\CommonPdoCommandTest; @@ -64,7 +64,7 @@ public function testCommandLogging(): void /** @var AbstractPdoCommand $command */ $command = $db->createCommand(); $this->assertInstanceOf(PdoCommandInterface::class, $command); - $this->assertInstanceOf(LoggerAwareInterface::class, $command); + $this->assertInstanceOf(DbLoggerAwareInterface::class, $command); $command->setSql($sql); $this->assertSame($sql, $command->getSql());