function MigrateDblogConfigsTest::testBookSettings

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

File

core/modules/dblog/tests/src/Kernel/Migrate/d6/MigrateDblogConfigsTest.php, line 33

Class

MigrateDblogConfigsTest
Upgrade variables to dblog.settings.yml.

Namespace

Drupal\Tests\dblog\Kernel\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());
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.