Permalink
Browse files

Testing: clearing session integration tests on tearDown().

  • Loading branch information...
1 parent 0fd15c7 commit 2872d030538e1941eed991b2e4750fd38a14eca6 @daschl daschl committed Aug 9, 2011
Showing with 4 additions and 0 deletions.
  1. +4 −0 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');

0 comments on commit 2872d03

Please sign in to comment.