public function Update8007Test::testUpdate in Lightning Core 8.2
Same name and namespace in other branches
- 8.5 tests/src/Kernel/Update/Update8007Test.php \Drupal\Tests\lightning_core\Kernel\Update\Update8007Test::testUpdate()
- 8.3 tests/src/Kernel/Update/Update8007Test.php \Drupal\Tests\lightning_core\Kernel\Update\Update8007Test::testUpdate()
- 8.4 tests/src/Kernel/Update/Update8007Test.php \Drupal\Tests\lightning_core\Kernel\Update\Update8007Test::testUpdate()
Overrides Update8006Test::testUpdate
File
- tests/
src/ Kernel/ Update/ Update8007Test.php, line 13
Class
- Update8007Test
- @group lightning_core @group lightning
Namespace
Drupal\Tests\lightning_core\Kernel\UpdateCode
public function testUpdate() {
parent::testUpdate();
lightning_core_update_8007();
$factory = $this->container
->get('config.factory');
$this
->assertFalse($factory
->get(UpdateManager::CONFIG_NAME)
->isNew());
$this
->assertTrue($factory
->get('lightning.versions')
->isNew());
}