function MigrateDblogConfigsTest::testDblogSettings

Same name in this branch
  1. 11.x core/modules/dblog/tests/src/Kernel/Migrate/d6/MigrateDblogConfigsTest.php \Drupal\Tests\dblog\Kernel\Migrate\d6\MigrateDblogConfigsTest::testDblogSettings()
Same name in other branches
  1. 9 core/modules/dblog/tests/src/Kernel/Migrate/d6/MigrateDblogConfigsTest.php \Drupal\Tests\dblog\Kernel\Migrate\d6\MigrateDblogConfigsTest::testDblogSettings()
  2. 9 core/modules/dblog/tests/src/Kernel/Migrate/d7/MigrateDblogConfigsTest.php \Drupal\Tests\dblog\Kernel\Migrate\d7\MigrateDblogConfigsTest::testDblogSettings()
  3. 8.9.x core/modules/dblog/tests/src/Kernel/Migrate/d7/MigrateDblogConfigsTest.php \Drupal\Tests\dblog\Kernel\Migrate\d7\MigrateDblogConfigsTest::testDblogSettings()
  4. 10 core/modules/dblog/tests/src/Kernel/Migrate/d6/MigrateDblogConfigsTest.php \Drupal\Tests\dblog\Kernel\Migrate\d6\MigrateDblogConfigsTest::testDblogSettings()
  5. 10 core/modules/dblog/tests/src/Kernel/Migrate/d7/MigrateDblogConfigsTest.php \Drupal\Tests\dblog\Kernel\Migrate\d7\MigrateDblogConfigsTest::testDblogSettings()

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

File

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

Class

MigrateDblogConfigsTest
Upgrade variables to dblog.settings.yml.

Namespace

Drupal\Tests\dblog\Kernel\Migrate\d7

Code

public function testDblogSettings() : void {
    $config = $this->config('dblog.settings');
    $this->assertSame(10000, $config->get('row_limit'));
}

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