1.20.x backdrop_web_test_case_cache.php public BackdropWebTestCaseCache::prepareCache($skip_myisam = FALSE)

Prepare cache tables and config directories.

File

modules/simpletest/backdrop_web_test_case_cache.php, line 42

Class

BackdropWebTestCaseCache
Class for setting up a full installation profile for caching purposes.

Code

public function prepareCache($skip_myisam = FALSE) {
  $this->setUp();

  if (!$skip_myisam) {
    // Speed up test speed by converting tables to MyISAM.
    $this->alterToMyISAM();
  }

  $this->tearDown();
}