protected function EntityOperationsTest::setUp in Drupal 8
Same name in this branch
- 8 core/modules/content_moderation/tests/src/Kernel/EntityOperationsTest.php \Drupal\Tests\content_moderation\Kernel\EntityOperationsTest::setUp()
- 8 core/modules/system/tests/src/Functional/Entity/EntityOperationsTest.php \Drupal\Tests\system\Functional\Entity\EntityOperationsTest::setUp()
Same name and namespace in other branches
- 9 core/modules/system/tests/src/Functional/Entity/EntityOperationsTest.php \Drupal\Tests\system\Functional\Entity\EntityOperationsTest::setUp()
Overrides BrowserTestBase::setUp
File
- core/
modules/ system/ tests/ src/ Functional/ Entity/ EntityOperationsTest.php, line 27
Class
- EntityOperationsTest
- Tests that operations can be injected from the hook.
Namespace
Drupal\Tests\system\Functional\EntityCode
protected function setUp() {
parent::setUp();
// Create and log in user.
$this
->drupalLogin($this
->drupalCreateUser([
'administer permissions',
]));
}