function StreamWrapperTest::resetStore

Same name in other branches
  1. 3.x modules/stream_wrapper_example/tests/src/Kernel/StreamWrapperTest.php \Drupal\Tests\stream_wrapper_example\Kernel\StreamWrapperTest::resetStore()
  2. 8.x-1.x 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();
}