Skip to content

Commit 1c31467

Browse files
committed
merged branch drak/nativefiletest (PR symfony#5230)
Commits ------- fa93324 [HttpFoundation] Fixed test under Windows environment Discussion ---------- [HttpFoundation] Fixed test under Windows environment Bug fix: yes Feature addition: no Backwards compatibility break: no Symfony2 tests pass: yes Fixes the following tickets: symfony#5226 Todo: - License of the code: MIT Documentation PR: - --------------------------------------------------------------------------- by travisbot at 2012-08-10T09:54:20Z This pull request [passes](http://travis-ci.org/symfony/symfony/builds/2084750) (merged fa93324 into dd9afdd).
2 parents ef2c5bc + fa93324 commit 1c31467

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/Symfony/Component/HttpFoundation/Tests/Session/Storage/Handler/NativeFileSessionHandlerTest.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,9 @@ public function test__ConstructSavePath($savePath, $expectedSavePath, $path)
4646
{
4747
$handler = new NativeFileSessionHandler($savePath);
4848
$this->assertEquals($expectedSavePath, ini_get('session.save_path'));
49-
$dir = realpath('/'.$path);
50-
$this->assertTrue(is_dir(realpath($dir)));
49+
$this->assertTrue(is_dir(realpath($path)));
5150

52-
rmdir($dir);
51+
rmdir($path);
5352
}
5453

5554
public function savePathDataProvider()

0 commit comments

Comments
 (0)