You are here

public function Update8013Test::testUpdate in Lightning Layout 8.2

Test that the updates install Layout Library.

File

tests/src/Functional/Update8013Test.php, line 33

Class

Update8013Test
Tests the Lightning Layout update to install Layout Library.

Namespace

Drupal\Tests\lightning_layout\Functional

Code

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'));
}