You are here

public function Update8006Test::testUpdate in Lightning Core 8.5

Same name in this branch
  1. 8.5 tests/src/Functional/Update/Update8006Test.php \Drupal\Tests\lightning_core\Functional\Update\Update8006Test::testUpdate()
  2. 8.5 tests/src/Kernel/Update/Update8006Test.php \Drupal\Tests\lightning_core\Kernel\Update\Update8006Test::testUpdate()
Same name and namespace in other branches
  1. 8.2 tests/src/Kernel/Update/Update8006Test.php \Drupal\Tests\lightning_core\Kernel\Update\Update8006Test::testUpdate()
  2. 8.3 tests/src/Kernel/Update/Update8006Test.php \Drupal\Tests\lightning_core\Kernel\Update\Update8006Test::testUpdate()
  3. 8.4 tests/src/Kernel/Update/Update8006Test.php \Drupal\Tests\lightning_core\Kernel\Update\Update8006Test::testUpdate()
1 call to Update8006Test::testUpdate()
Update8007Test::testUpdate in tests/src/Kernel/Update/Update8007Test.php
1 method overrides Update8006Test::testUpdate()
Update8007Test::testUpdate in tests/src/Kernel/Update/Update8007Test.php

File

tests/src/Kernel/Update/Update8006Test.php, line 23

Class

Update8006Test
@group lightning_core

Namespace

Drupal\Tests\lightning_core\Kernel\Update

Code

public function testUpdate() {
  module_load_install('lightning_core');
  lightning_core_update_8006();
  $config = $this->container
    ->get('config.factory')
    ->get('lightning.versions');
  foreach (static::$modules as $module) {
    $this
      ->assertSame(UpdateManager::VERSION_UNKNOWN, $config
      ->get($module));
  }
}