Skip to content

Commit

Permalink
Fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tuutti committed Oct 14, 2023
1 parent 0de1bf6 commit a31660e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/src/Kernel/Logger/JsonLoggerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
use Drupal\helfi_api_base\Logger\JsonLog;
use Drupal\KernelTests\KernelTestBase;
use Psr\Log\LoggerInterface;
use Symfony\Component\Filesystem\Filesystem;

/**
* Tests json logger.
Expand Down Expand Up @@ -45,6 +46,7 @@ public function register(ContainerBuilder $container) : void {
private function getSut(bool $status) : LoggerInterface {
return new JsonLog(
$this->container->get('logger.log_message_parser'),
new Filesystem(),
$this->container->getParameter('helfi_api_base.json_logger_path'),
$status
);
Expand Down

0 comments on commit a31660e

Please sign in to comment.