Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Testing: clearing session integration tests on tearDown().

  • Loading branch information...
commit 2872d030538e1941eed991b2e4750fd38a14eca6 1 parent 0fd15c7
@daschl daschl authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 tests/integration/storage/SessionTest.php
View
4 tests/integration/storage/SessionTest.php
@@ -16,6 +16,10 @@ public function skip() {
$this->skipIf(PHP_SAPI == 'cli', 'No session support in cli SAPI');
}
+ public function tearDown() {
+ Session::clear();
+ }
+
public function testPhpReadWriteDelete() {
$config = array('name' => 'phpInt');
Please sign in to comment.
Something went wrong with that request. Please try again.