Issue #2603798 by neclimdul, phenaproxima, mikeryan: dblog_settings tests prove nothing
parent
4d9ce53bfb
commit
9f74e47286
|
@ -37,7 +37,7 @@ class MigrateDblogConfigsTest extends MigrateDrupal6TestBase {
|
|||
*/
|
||||
public function testBookSettings() {
|
||||
$config = $this->config('dblog.settings');
|
||||
$this->assertIdentical(1000, $config->get('row_limit'));
|
||||
$this->assertIdentical(10000, $config->get('row_limit'));
|
||||
$this->assertConfigSchema(\Drupal::service('config.typed'), 'dblog.settings', $config->get());
|
||||
}
|
||||
|
||||
|
|
|
@ -12,14 +12,12 @@ use Drupal\migrate_drupal\Tests\d7\MigrateDrupal7TestBase;
|
|||
/**
|
||||
* Upgrade variables to dblog.settings.yml.
|
||||
*
|
||||
* @group dblog
|
||||
* @group migrate_drupal_7
|
||||
*/
|
||||
class MigrateDblogConfigsTest extends MigrateDrupal7TestBase {
|
||||
|
||||
/**
|
||||
* Modules to enable.
|
||||
*
|
||||
* @var array
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public static $modules = ['dblog'];
|
||||
|
||||
|
@ -37,7 +35,7 @@ class MigrateDblogConfigsTest extends MigrateDrupal7TestBase {
|
|||
*/
|
||||
public function testDblogSettings() {
|
||||
$config = $this->config('dblog.settings');
|
||||
$this->assertIdentical(1000, $config->get('row_limit'));
|
||||
$this->assertIdentical(10000, $config->get('row_limit'));
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -33409,7 +33409,7 @@ $connection->insert('variable')
|
|||
))
|
||||
->values(array(
|
||||
'name' => 'dblog_row_limit',
|
||||
'value' => 'i:1000;',
|
||||
'value' => 'i:10000;',
|
||||
))
|
||||
->values(array(
|
||||
'name' => 'drupal_badge_color',
|
||||
|
|
|
@ -40813,7 +40813,7 @@ $connection->insert('variable')
|
|||
))
|
||||
->values(array(
|
||||
'name' => 'cache_flush_cache',
|
||||
'value' => 'i:1444944970;',
|
||||
'value' => 'i:0;',
|
||||
))
|
||||
->values(array(
|
||||
'name' => 'cache_flush_cache_block',
|
||||
|
@ -40821,7 +40821,7 @@ $connection->insert('variable')
|
|||
))
|
||||
->values(array(
|
||||
'name' => 'cache_flush_cache_field',
|
||||
'value' => 'i:1444944970;',
|
||||
'value' => 'i:0;',
|
||||
))
|
||||
->values(array(
|
||||
'name' => 'cache_flush_cache_filter',
|
||||
|
@ -41063,6 +41063,10 @@ $connection->insert('variable')
|
|||
'name' => 'date_default_timezone',
|
||||
'value' => 's:15:"America/Chicago";',
|
||||
))
|
||||
->values(array(
|
||||
'name' => 'dblog_row_limit',
|
||||
'value' => 'i:10000;',
|
||||
))
|
||||
->values(array(
|
||||
'name' => 'default_nodes_main',
|
||||
'value' => 's:2:"10";',
|
||||
|
|
Loading…
Reference in New Issue