protected function EntityRevisionTranslationTest::setUp in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/system/src/Tests/Entity/EntityRevisionTranslationTest.php \Drupal\system\Tests\Entity\EntityRevisionTranslationTest::setUp()
Performs setup tasks before each individual test method is run.
Overrides EntityUnitTestBase::setUp
File
- core/
modules/ system/ src/ Tests/ Entity/ EntityRevisionTranslationTest.php, line 28 - Contains \Drupal\system\Tests\Entity\EntityRevisionTranslationTest.
Class
- EntityRevisionTranslationTest
- Tests proper revision propagation of entities.
Namespace
Drupal\system\Tests\EntityCode
protected function setUp() {
parent::setUp();
// Enable an additional language.
ConfigurableLanguage::createFromLangcode('de')
->save();
$this
->installEntitySchema('entity_test_mulrev');
}