protected function DateFormatAccessControlHandlerTest::setUp in Drupal 8
Same name and namespace in other branches
- 9 core/modules/system/tests/src/Kernel/DateFormatAccessControlHandlerTest.php \Drupal\Tests\system\Kernel\DateFormatAccessControlHandlerTest::setUp()
Overrides KernelTestBase::setUp
File
- core/
modules/ system/ tests/ src/ Kernel/ DateFormatAccessControlHandlerTest.php, line 42
Class
- DateFormatAccessControlHandlerTest
- @coversDefaultClass \Drupal\system\DateFormatAccessControlHandler @group system
Namespace
Drupal\Tests\system\KernelCode
protected function setUp() {
parent::setUp();
$this
->installEntitySchema('date_format');
$this
->installEntitySchema('user');
$this
->installSchema('system', 'sequences');
$this->accessControlHandler = $this->container
->get('entity_type.manager')
->getAccessControlHandler('date_format');
}