You are here

public function UpdatePathTest::testUpdatePath in Lightning Layout 8

Same name and namespace in other branches
  1. 8.2 tests/src/Functional/UpdatePathTest.php \Drupal\Tests\lightning_layout\Functional\UpdatePathTest::testUpdatePath()

Tests Lightning Layout's database update path.

File

tests/src/Functional/UpdatePathTest.php, line 30

Class

UpdatePathTest
Tests Lightning Layout's database update path.

Namespace

Drupal\Tests\lightning_layout\Functional

Code

public function testUpdatePath() {
  require_once __DIR__ . '/../../update.php';
  $this
    ->runUpdates();
  $this
    ->drush('update:lightning', [], [
    'yes' => NULL,
  ]);
}