public function WriteSafeSessionHandlerTest::providerTestOtherMethods in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/tests/Drupal/Tests/Core/Session/WriteSafeSessionHandlerTest.php \Drupal\Tests\Core\Session\WriteSafeSessionHandlerTest::providerTestOtherMethods()
Provides test data for the other methods test.
Return value
array Test data.
File
- core/
tests/ Drupal/ Tests/ Core/ Session/ WriteSafeSessionHandlerTest.php, line 173 - Contains \Drupal\Tests\Core\Session\WriteSafeSessionHandlerTest.
Class
Namespace
Drupal\Tests\Core\SessionCode
public function providerTestOtherMethods() {
return [
[
'open',
TRUE,
[
'/some/path',
'some-session-id',
],
],
[
'read',
'some-session-data',
[
'a-session-id',
],
],
[
'close',
TRUE,
[],
],
[
'destroy',
TRUE,
[
'old-session-id',
],
],
[
'gc',
TRUE,
[
42,
],
],
];
}