function DrupalFlushAllCachesInInstallerTest::testInstalled

Same name in other branches
  1. 9 core/tests/Drupal/FunctionalTests/Installer/DrupalFlushAllCachesInInstallerTest.php \Drupal\FunctionalTests\Installer\DrupalFlushAllCachesInInstallerTest::testInstalled()
  2. 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 59

Class

DrupalFlushAllCachesInInstallerTest
Tests drupal_flush_all_caches() during an install.

Namespace

Drupal\FunctionalTests\Installer

Code

public function testInstalled() : void {
    $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.