Skip to content

Commit

Permalink
Revert test
Browse files Browse the repository at this point in the history
  • Loading branch information
Tigrov committed Nov 27, 2023
1 parent bac333f commit 73f2031
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/Common/CommonPdoCommandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
use PDO;
use PHPUnit\Framework\TestCase;
use Psr\Log\LoggerInterface;
use Psr\Log\LogLevel;
use Yiisoft\Db\Command\Param;
use Yiisoft\Db\Command\ParamInterface;
use Yiisoft\Db\Driver\Pdo\AbstractPdoCommand;
Expand Down Expand Up @@ -234,8 +235,9 @@ protected function createQueryLogger(string $sql, array $params = []): LoggerInt
$logger = $this->createMock(LoggerInterface::class);
$logger
->expects($this->once())
->method('info')
->method('log')
->with(
LogLevel::INFO,
$sql,
$params
);
Expand Down

0 comments on commit 73f2031

Please sign in to comment.