function SystemRssDeleteTest::testUpdate
Ensures that system.rss is deleted after updating.
File
-
core/
modules/ system/ tests/ src/ Functional/ Update/ SystemRssDeleteTest.php, line 32
Class
- SystemRssDeleteTest
- Tests that system.rss config is deleted.
Namespace
Drupal\Tests\system\Functional\UpdateCode
public function testUpdate() : void {
$config = $this->config('system.rss');
$this->assertFalse($config->isNew());
$this->runUpdates();
$config = $this->config('system.rss');
$this->assertTrue($config->isNew());
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.