DatabaseStorageTest.php in Zircon Profile 8.0
File
core/modules/system/src/Tests/KeyValueStore/DatabaseStorageTest.php
View source
<?php
namespace Drupal\system\Tests\KeyValueStore;
use Drupal\Core\DependencyInjection\ContainerBuilder;
use Drupal\Core\KeyValueStore\KeyValueFactory;
class DatabaseStorageTest extends StorageTestBase {
public static $modules = array(
'system',
);
protected function setUp() {
parent::setUp();
$this
->installSchema('system', array(
'key_value',
));
}
public function containerBuild(ContainerBuilder $container) {
parent::containerBuild($container);
$parameter[KeyValueFactory::DEFAULT_SETTING] = 'keyvalue.database';
$container
->setParameter('factory.keyvalue', $parameter);
}
}