You are here

public function MigrateDblogConfigsTest::testBookSettings in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/dblog/src/Tests/Migrate/d6/MigrateDblogConfigsTest.php \Drupal\dblog\Tests\Migrate\d6\MigrateDblogConfigsTest::testBookSettings()

Tests migration of dblog variables to dblog.settings.yml.

File

core/modules/dblog/src/Tests/Migrate/d6/MigrateDblogConfigsTest.php, line 38
Contains \Drupal\dblog\Tests\Migrate\d6\MigrateDblogConfigsTest.

Class

MigrateDblogConfigsTest
Upgrade variables to dblog.settings.yml.

Namespace

Drupal\dblog\Tests\Migrate\d6

Code

public function testBookSettings() {
  $config = $this
    ->config('dblog.settings');
  $this
    ->assertIdentical(10000, $config
    ->get('row_limit'));
  $this
    ->assertConfigSchema(\Drupal::service('config.typed'), 'dblog.settings', $config
    ->get());
}