From adae5a54efec6be8f2a93f72899b66b5c090b2ab Mon Sep 17 00:00:00 2001 From: Filippo Tessarotto Date: Sat, 24 Nov 2012 08:52:20 +0100 Subject: [PATCH] Removed system specific tests --- .../Classes/PHPExcel/Shared/FileTest.php | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/unitTests/Classes/PHPExcel/Shared/FileTest.php b/unitTests/Classes/PHPExcel/Shared/FileTest.php index a71a435..9deb401 100644 --- a/unitTests/Classes/PHPExcel/Shared/FileTest.php +++ b/unitTests/Classes/PHPExcel/Shared/FileTest.php @@ -36,23 +36,4 @@ class FileTest extends PHPUnit_Framework_TestCase $this->assertEquals($useUploadTempDirectoryValue, $result); } } - - public function testSysGetTempDir() - { - $expectedResult = 'C:\Users\Mark\AppData\Local\Temp'; - - $result = call_user_func(array('PHPExcel_Shared_File','sys_get_temp_dir')); - $this->assertEquals($expectedResult, $result); - } - - public function testSysGetTempDirUpload() - { - $expectedResult = 'C:\xampp\tmp'; - - call_user_func(array('PHPExcel_Shared_File','setUseUploadTempDirectory'),TRUE); - - $result = call_user_func(array('PHPExcel_Shared_File','sys_get_temp_dir')); - $this->assertEquals($expectedResult, $result); - } - }