function RemovePathKeyTest::testRunUpdates
Tests the upgrade path for removing system.file.path key.
File
-
core/
modules/ system/ tests/ src/ Functional/ Update/ RemovePathKeyTest.php, line 28
Class
- RemovePathKeyTest
- Tests the upgrade path for the system.file schema update.
Namespace
Drupal\Tests\system\Functional\UpdateCode
public function testRunUpdates() : void {
$this->assertIsArray(\Drupal::config('system.file')->get('path'));
$this->runUpdates();
$this->assertNull(\Drupal::config('system.file')->get('path'));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.