protected function EntityOperationsTest::setUp in Drupal 9
Same name in this branch
- 9 core/modules/content_moderation/tests/src/Kernel/EntityOperationsTest.php \Drupal\Tests\content_moderation\Kernel\EntityOperationsTest::setUp()
- 9 core/modules/system/tests/src/Functional/Entity/EntityOperationsTest.php \Drupal\Tests\system\Functional\Entity\EntityOperationsTest::setUp()
Same name and namespace in other branches
- 8 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() : void {
parent::setUp();
// Create and log in user.
$this
->drupalLogin($this
->drupalCreateUser([
'administer permissions',
]));
}