public function Update8006Test::testUpdate in Lightning Core 8.2
Same name in this branch
- 8.2 tests/src/Functional/Update/Update8006Test.php \Drupal\Tests\lightning_core\Functional\Update\Update8006Test::testUpdate()
- 8.2 tests/src/Kernel/Update/Update8006Test.php \Drupal\Tests\lightning_core\Kernel\Update\Update8006Test::testUpdate()
Same name and namespace in other branches
- 8.5 tests/src/Kernel/Update/Update8006Test.php \Drupal\Tests\lightning_core\Kernel\Update\Update8006Test::testUpdate()
- 8.3 tests/src/Kernel/Update/Update8006Test.php \Drupal\Tests\lightning_core\Kernel\Update\Update8006Test::testUpdate()
- 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 24
Class
- Update8006Test
- @group lightning_core @group lightning
Namespace
Drupal\Tests\lightning_core\Kernel\UpdateCode
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));
}
}