Security update to Drupal 8.4.6
[yaffs-website] / web / core / modules / dblog / tests / src / Kernel / Migrate / d7 / MigrateDblogConfigsTest.php
1 <?php
2
3 namespace Drupal\Tests\dblog\Kernel\Migrate\d7;
4
5 use Drupal\Tests\migrate_drupal\Kernel\d7\MigrateDrupal7TestBase;
6
7 /**
8  * Upgrade variables to dblog.settings.yml.
9  *
10  * @group migrate_drupal_7
11  */
12 class MigrateDblogConfigsTest extends MigrateDrupal7TestBase {
13
14   /**
15    * {@inheritdoc}
16    */
17   public static $modules = ['dblog'];
18
19   /**
20    * {@inheritdoc}
21    */
22   protected function setUp() {
23     parent::setUp();
24     $this->installConfig(static::$modules);
25     $this->executeMigration('d7_dblog_settings');
26   }
27
28   /**
29    * Tests migration of dblog variables to dblog.settings.yml.
30    */
31   public function testDblogSettings() {
32     $config = $this->config('dblog.settings');
33     $this->assertIdentical(10000, $config->get('row_limit'));
34   }
35
36 }