function DrupalFlushAllCachesInInstallerTest::testInstalled
Same name and namespace in other branches
- 10 core/tests/Drupal/FunctionalTests/Installer/DrupalFlushAllCachesInInstallerTest.php \Drupal\FunctionalTests\Installer\DrupalFlushAllCachesInInstallerTest::testInstalled()
- 11.x core/tests/Drupal/FunctionalTests/Installer/DrupalFlushAllCachesInInstallerTest.php \Drupal\FunctionalTests\Installer\DrupalFlushAllCachesInInstallerTest::testInstalled()
Confirms that the installation succeeded.
File
-
core/
tests/ Drupal/ FunctionalTests/ Installer/ DrupalFlushAllCachesInInstallerTest.php, line 57
Class
- DrupalFlushAllCachesInInstallerTest
- Tests <a href="/api/drupal/core%21includes%21common.inc/function/drupal_flush_all_caches/9" title="Rebuilds the container, flushes all persistent caches, resets all variables, and rebuilds all data structures." class="local">drupal_flush_all_caches</a>() during an install.
Namespace
Drupal\FunctionalTests\InstallerCode
public function testInstalled() {
$this->assertTrue(\Drupal::state()->get('cache_flush_test'));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.