test-G "fix on function testSys_get_temp_dir()"
test function was udated for others operative systems like macosx where the temporal dir. isn't /tmp
This commit is contained in:
@@ -1327,7 +1327,9 @@ class GTest extends PHPUnit_Framework_TestCase
|
|||||||
*/
|
*/
|
||||||
public function testSys_get_temp_dir()
|
public function testSys_get_temp_dir()
|
||||||
{
|
{
|
||||||
$this->assertEquals('/tmp',G::sys_get_temp_dir());
|
$tmpDir = G::sys_get_temp_dir();
|
||||||
|
$this->assertFileExists($tmpDir);
|
||||||
|
$this->assertTrue(is_writable($tmpDir));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user