function AccessGroupAndTest::setUp
Same name in other branches
- 8.9.x core/modules/block_content/tests/src/Unit/Access/AccessGroupAndTest.php \Drupal\Tests\block_content\Unit\Access\AccessGroupAndTest::setUp()
- 10 core/modules/block_content/tests/src/Unit/Access/AccessGroupAndTest.php \Drupal\Tests\block_content\Unit\Access\AccessGroupAndTest::setUp()
- 11.x core/modules/block_content/tests/src/Unit/Access/AccessGroupAndTest.php \Drupal\Tests\block_content\Unit\Access\AccessGroupAndTest::setUp()
Overrides UnitTestCase::setUp
File
-
core/
modules/ block_content/ tests/ src/ Unit/ Access/ AccessGroupAndTest.php, line 22
Class
- AccessGroupAndTest
- Tests accessible groups.
Namespace
Drupal\Tests\block_content\Unit\AccessCode
protected function setUp() : void {
parent::setUp();
$this->account = $this->prophesize(AccountInterface::class)
->reveal();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.