function NoSessionOpenTest::setUp
Same name in other branches
- 9 core/tests/Drupal/Tests/Core/PageCache/NoSessionOpenTest.php \Drupal\Tests\Core\PageCache\NoSessionOpenTest::setUp()
- 8.9.x core/tests/Drupal/Tests/Core/PageCache/NoSessionOpenTest.php \Drupal\Tests\Core\PageCache\NoSessionOpenTest::setUp()
- 10 core/tests/Drupal/Tests/Core/PageCache/NoSessionOpenTest.php \Drupal\Tests\Core\PageCache\NoSessionOpenTest::setUp()
Overrides UnitTestCase::setUp
File
-
core/
tests/ Drupal/ Tests/ Core/ PageCache/ NoSessionOpenTest.php, line 35
Class
- NoSessionOpenTest
- @coversDefaultClass \Drupal\Core\PageCache\RequestPolicy\NoSessionOpen @group PageCache
Namespace
Drupal\Tests\Core\PageCacheCode
protected function setUp() : void {
parent::setUp();
$this->sessionConfiguration = $this->createMock('Drupal\\Core\\Session\\SessionConfigurationInterface');
$this->policy = new NoSessionOpen($this->sessionConfiguration);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.