[HttpFoundation] Fixed test under Windows environment
This commit is contained in:
parent
dd9afddfd9
commit
fa93324791
@ -46,10 +46,9 @@ class NativeFileSessionHandlerTest extends \PHPUnit_Framework_TestCase
|
|||||||
{
|
{
|
||||||
$handler = new NativeFileSessionHandler($savePath);
|
$handler = new NativeFileSessionHandler($savePath);
|
||||||
$this->assertEquals($expectedSavePath, ini_get('session.save_path'));
|
$this->assertEquals($expectedSavePath, ini_get('session.save_path'));
|
||||||
$dir = realpath('/'.$path);
|
$this->assertTrue(is_dir(realpath($path)));
|
||||||
$this->assertTrue(is_dir(realpath($dir)));
|
|
||||||
|
|
||||||
rmdir($dir);
|
rmdir($path);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function savePathDataProvider()
|
public function savePathDataProvider()
|
||||||
|
Reference in New Issue
Block a user