
| Current Path : /var/www/html1/bbp/web/core/modules/dblog/tests/src/Kernel/Migrate/d7/ |
Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 |
| Current File : /var/www/html1/bbp/web/core/modules/dblog/tests/src/Kernel/Migrate/d7/MigrateDblogConfigsTest.php |
<?php
namespace Drupal\Tests\dblog\Kernel\Migrate\d7;
use Drupal\Tests\migrate_drupal\Kernel\d7\MigrateDrupal7TestBase;
/**
* Upgrade variables to dblog.settings.yml.
*
* @group migrate_drupal_7
*/
class MigrateDblogConfigsTest extends MigrateDrupal7TestBase {
/**
* {@inheritdoc}
*/
protected static $modules = ['dblog'];
/**
* {@inheritdoc}
*/
protected function setUp(): void {
parent::setUp();
$this->installConfig(static::$modules);
$this->executeMigration('d7_dblog_settings');
}
/**
* Tests migration of dblog variables to dblog.settings.yml.
*/
public function testDblogSettings() {
$config = $this->config('dblog.settings');
$this->assertIdentical(10000, $config->get('row_limit'));
}
}