You are here

public function MigrateDblogConfigsTest::testBookSettings in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/dblog/tests/src/Kernel/Migrate/d6/MigrateDblogConfigsTest.php \Drupal\Tests\dblog\Kernel\Migrate\d6\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
    ->assertSame(10000, $config
    ->get('row_limit'));
  $this
    ->assertConfigSchema(\Drupal::service('config.typed'), 'dblog.settings', $config
    ->get());
}