You are here

public function DrupalFlushAllCachesInInstallerTest::testInstalled in Drupal 10

Same name and namespace in other branches
  1. 9 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 drupal_flush_all_caches() during an install.

Namespace

Drupal\FunctionalTests\Installer

Code

public function testInstalled() {
  $this
    ->assertTrue(\Drupal::state()
    ->get('cache_flush_test'));
}