function 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. 10 core/modules/dblog/tests/src/Kernel/Migrate/d6/MigrateDblogConfigsTest.php \Drupal\Tests\dblog\Kernel\Migrate\d6\MigrateDblogConfigsTest::testDblogSettings()
  4. 10 core/modules/dblog/tests/src/Kernel/Migrate/d7/MigrateDblogConfigsTest.php \Drupal\Tests\dblog\Kernel\Migrate\d7\MigrateDblogConfigsTest::testDblogSettings()
  5. 11.x core/modules/dblog/tests/src/Kernel/Migrate/d6/MigrateDblogConfigsTest.php \Drupal\Tests\dblog\Kernel\Migrate\d6\MigrateDblogConfigsTest::testDblogSettings()
  6. 11.x 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 31

Class

MigrateDblogConfigsTest
Upgrade variables to dblog.settings.yml.

Namespace

Drupal\Tests\dblog\Kernel\Migrate\d7

Code

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

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