protected function ContentTestTranslationUITest::setUp in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/content_translation/src/Tests/ContentTestTranslationUITest.php \Drupal\content_translation\Tests\ContentTestTranslationUITest::setUp()
Sets up a Drupal site for running functional and integration tests.
Installs Drupal with the installation profile specified in \Drupal\simpletest\WebTestBase::$profile into the prefixed database.
Afterwards, installs any additional modules specified in the static \Drupal\simpletest\WebTestBase::$modules property of each class in the class hierarchy.
After installation all caches are flushed and several configuration values are reset to the values of the parent site executing the test, since the default values may be incompatible with the environment in which tests are being executed.
Overrides ContentTranslationTestBase::setUp
File
- core/
modules/ content_translation/ src/ Tests/ ContentTestTranslationUITest.php, line 32 - Contains \Drupal\content_translation\Tests\ContentTestTranslationUITest.
Class
- ContentTestTranslationUITest
- Tests the test content translation UI with the test entity.
Namespace
Drupal\content_translation\TestsCode
protected function setUp() {
// Use the entity_test_mul as this has multilingual property support.
$this->entityTypeId = 'entity_test_mul_changed';
parent::setUp();
}