function SystemRssDeleteTest::testUpdate
Same name and namespace in other branches
- 11.x core/modules/system/tests/src/Functional/Update/SystemRssDeleteTest.php \Drupal\Tests\system\Functional\Update\SystemRssDeleteTest::testUpdate()
Ensures that system.rss is deleted after updating.
File
-
core/
modules/ system/ tests/ src/ Functional/ Update/ SystemRssDeleteTest.php, line 33
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.