Fix MockFileSessionStorageTest::sessionDir being used after it's unset
This commit is contained in:
parent
36c4c66a60
commit
51b20dd895
@ -41,12 +41,12 @@ class MockFileSessionStorageTest extends TestCase
|
||||
|
||||
protected function tearDown()
|
||||
{
|
||||
$this->sessionDir = null;
|
||||
$this->storage = null;
|
||||
array_map('unlink', glob($this->sessionDir.'/*.session'));
|
||||
array_map('unlink', glob($this->sessionDir.'/*'));
|
||||
if (is_dir($this->sessionDir)) {
|
||||
rmdir($this->sessionDir);
|
||||
}
|
||||
$this->sessionDir = null;
|
||||
$this->storage = null;
|
||||
}
|
||||
|
||||
public function testStart()
|
||||
|
Reference in New Issue
Block a user