Skip to content
This repository has been archived by the owner on Jan 29, 2020. It is now read-only.

Commit

Permalink
use realpath() to ensure that test passes on Max OS X where sys_get_t…
Browse files Browse the repository at this point in the history
…emp_dir() and realpath(sys_get_temp_dir()) are two different things.
  • Loading branch information
akrabat committed Apr 23, 2012
1 parent f083557 commit 53599fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/Storage/Adapter/FilesystemTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ protected function _removeRecursive($dir)

public function testNormalizeCacheDir()
{
$cacheDir = $cacheDirExpected = sys_get_temp_dir();
$cacheDir = $cacheDirExpected = realpath(sys_get_temp_dir());

if (DIRECTORY_SEPARATOR != '/') {
$cacheDir = str_replace(DIRECTORY_SEPARATOR, '/', $cacheDir);
Expand Down

0 comments on commit 53599fc

Please sign in to comment.