From f14a026218f975a4fb34b2159332f9a94d771c80 Mon Sep 17 00:00:00 2001 From: Sebastiaan Stok Date: Fri, 31 Aug 2012 11:41:48 +0200 Subject: [PATCH] fixed double backslash in RepositoryTest tmpdir --- tests/RepositoryTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/RepositoryTest.php b/tests/RepositoryTest.php index d84c948..a3786c9 100644 --- a/tests/RepositoryTest.php +++ b/tests/RepositoryTest.php @@ -8,13 +8,13 @@ use Symfony\Component\Filesystem\Filesystem; class RepositoryTest extends PHPUnit_Framework_TestCase { - protected static $tmpdir = '/tmp/gitlist'; + protected static $tmpdir; protected $client; public static function setUpBeforeClass() { - self::$tmpdir = getenv('TMP').'/gitlist_' . md5(time() . mt_rand()) . '/'; + self::$tmpdir = getenv('TMP').'/gitlist_' . md5(time() . mt_rand()); $fs = new Filesystem(); $fs->mkdir(self::$tmpdir);