You are here

public function LoggerTest::setUp in MongoDB 8.2

Same name in this branch
  1. 8.2 modules/mongodb_watchdog/tests/src/Unit/LoggerTest.php \Drupal\Tests\mongodb_watchdog\Unit\LoggerTest::setUp()
  2. 8.2 modules/mongodb_watchdog/tests/src/Kernel/LoggerTest.php \Drupal\Tests\mongodb_watchdog\Kernel\LoggerTest::setUp()

Overrides MongoDbTestBase::setUp

File

modules/mongodb_watchdog/tests/src/Kernel/LoggerTest.php, line 44

Class

LoggerTest
Class LoggerTest tests the logging mechanism itself.

Namespace

Drupal\Tests\mongodb_watchdog\Kernel

Code

public function setUp() : void {
  parent::setUp();
  $this
    ->installConfig(Logger::MODULE);
}