You are here

protected function StreamWrapperTest::resetStore in Examples for Developers 3.x

Same name and namespace in other branches
  1. 8 stream_wrapper_example/tests/src/Kernel/StreamWrapperTest.php \Drupal\Tests\stream_wrapper_example\Kernel\StreamWrapperTest::resetStore()

Clear the session storage area.

2 calls to StreamWrapperTest::resetStore()
StreamWrapperTest::testDirectories in modules/stream_wrapper_example/tests/src/Kernel/StreamWrapperTest.php
Directory creation.
StreamWrapperTest::testReadWrite in modules/stream_wrapper_example/tests/src/Kernel/StreamWrapperTest.php
Test functions on a URI.

File

modules/stream_wrapper_example/tests/src/Kernel/StreamWrapperTest.php, line 138

Class

StreamWrapperTest
Test of the Session Stream Wrapper Class.

Namespace

Drupal\Tests\stream_wrapper_example\Kernel

Code

protected function resetStore() {
  $handle = $this
    ->getSessionHelper();
  $handle
    ->cleanUpStore();
}