Update8013Test.php in Lightning Layout 8.2
File
tests/src/Functional/Update8013Test.php
View source
<?php
namespace Drupal\Tests\lightning_layout\Functional;
use Drupal\FunctionalTests\Update\UpdatePathTestBase;
class Update8013Test extends UpdatePathTestBase {
protected $defaultTheme = 'stark';
protected function setDatabaseDumpFiles() {
$this->databaseDumpFiles = [
__DIR__ . '/../../fixtures/Update8013-d8.8.5-lightning_layout-1.x.php.gz',
];
}
public function testUpdate() {
$this
->assertFalse($this->container
->get('module_handler')
->moduleExists('layout_library'));
$this
->runUpdates();
$this
->assertTrue($this->container
->get('module_handler')
->moduleExists('layout_library'));
}
}
Classes
Name |
Description |
Update8013Test |
Tests the Lightning Layout update to install Layout Library. |