1 backdrop_web_test_case_cache.php public BackdropWebTestCaseCache::setProfile($profile)

Set the installation profile to be used as a cache.

File

core/modules/simpletest/backdrop_web_test_case_cache.php, line 17

Class

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

Code

public function setProfile($profile) {
  $this->profile = $profile;
  // Create the database prefix for this test.
  $this->databasePrefix = 'simpletest_cache_' . $this->profile . '_';
  $this->fileDirectoryName = 'simpletest_cache_' . $this->profile;
}