You are here

protected function ConfigSelectorTest::clearLogger in Configuration selector 8

Same name and namespace in other branches
  1. 8.2 tests/src/Kernel/ConfigSelectorTest.php \Drupal\Tests\config_selector\Kernel\ConfigSelectorTest::clearLogger()

Clears the test logger of messages.

2 calls to ConfigSelectorTest::clearLogger()
ConfigSelectorTest::testConfigSelector in tests/src/Kernel/ConfigSelectorTest.php
Tests \Drupal\config_selector\ConfigSelector().
ConfigSelectorTest::testConfigSelectorIndirectDependency in tests/src/Kernel/ConfigSelectorTest.php
Tests \Drupal\config_selector\ConfigSelector().

File

tests/src/Kernel/ConfigSelectorTest.php, line 363

Class

ConfigSelectorTest
Tests the ConfigSelector.

Namespace

Drupal\Tests\config_selector\Kernel

Code

protected function clearLogger() {
  $this->container
    ->get('config_selector.test_logger')
    ->clear();
}