You are here

protected function ConfigSelectorTest::clearLogger in Configuration selector 8.2

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

Clears the test logger of messages.

3 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().
ConfigSelectorTest::testConfigSelectorMultipleModuleInstall in tests/src/Kernel/ConfigSelectorTest.php
Tests \Drupal\config_selector\ConfigSelector().

File

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

Class

ConfigSelectorTest
Tests the ConfigSelector.

Namespace

Drupal\Tests\config_selector\Kernel

Code

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