You are here

public function MigrateSystemLoggingTest::testSystemLogging in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 core/modules/system/src/Tests/Migrate/d6/MigrateSystemLoggingTest.php \Drupal\system\Tests\Migrate\d6\MigrateSystemLoggingTest::testSystemLogging()

Tests migration of system error_level variables to system.logging.yml.

File

core/modules/system/src/Tests/Migrate/d6/MigrateSystemLoggingTest.php, line 33
Contains \Drupal\system\Tests\Migrate\d6\MigrateSystemLoggingTest.

Class

MigrateSystemLoggingTest
Upgrade error_level variable to system.logging.yml.

Namespace

Drupal\system\Tests\Migrate\d6

Code

public function testSystemLogging() {
  $config = $this
    ->config('system.logging');
  $this
    ->assertIdentical('some', $config
    ->get('error_level'));
  $this
    ->assertConfigSchema(\Drupal::service('config.typed'), 'system.logging', $config
    ->get());
}