From 969263944caf02362797841a0355bbab15281a92 Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Sat, 9 Jan 2016 18:39:18 +0000 Subject: [PATCH] Rename var --- tests/Composer/Test/Downloader/XzDownloaderTest.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/Composer/Test/Downloader/XzDownloaderTest.php b/tests/Composer/Test/Downloader/XzDownloaderTest.php index 2acc7b4d0..562142d51 100644 --- a/tests/Composer/Test/Downloader/XzDownloaderTest.php +++ b/tests/Composer/Test/Downloader/XzDownloaderTest.php @@ -25,20 +25,20 @@ class XzDownloaderTest extends \PHPUnit_Framework_TestCase /** * @var string */ - private $testName; + private $testDir; public function setUp() { if (defined('PHP_WINDOWS_VERSION_BUILD')) { $this->markTestSkipped('Skip test on Windows'); } - $this->testName = sys_get_temp_dir().'/composer-xz-test-vendor'; + $this->testDir = sys_get_temp_dir().'/composer-xz-test-vendor'; } public function tearDown() { $this->fs = new Filesystem; - $this->fs->removeDirectory($this->testName); + $this->fs->removeDirectory($this->testDir); } public function testErrorMessages() @@ -62,7 +62,7 @@ class XzDownloaderTest extends \PHPUnit_Framework_TestCase $config->expects($this->any()) ->method('get') ->with('vendor-dir') - ->will($this->returnValue($this->testName)); + ->will($this->returnValue($this->testDir)); $downloader = new XzDownloader($io, $config); try {