MigrateDblogConfigsTest.php in Drupal 9
File
core/modules/dblog/tests/src/Kernel/Migrate/d7/MigrateDblogConfigsTest.php
View source
<?php
namespace Drupal\Tests\dblog\Kernel\Migrate\d7;
use Drupal\Tests\migrate_drupal\Kernel\d7\MigrateDrupal7TestBase;
class MigrateDblogConfigsTest extends MigrateDrupal7TestBase {
protected static $modules = [
'dblog',
];
protected function setUp() : void {
parent::setUp();
$this
->installConfig(static::$modules);
$this
->executeMigration('d7_dblog_settings');
}
public function testDblogSettings() {
$config = $this
->config('dblog.settings');
$this
->assertSame(10000, $config
->get('row_limit'));
}
}