Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
Merge pull request minkphp#543 from stof/fix_windows
Browse files Browse the repository at this point in the history
Fixed the file upload tests on windows
  • Loading branch information
stof committed May 11, 2014
2 parents 8ef1228 + 34bc0aa commit 45c5bfe
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions driver-testsuite/tests/TestCase.php
Expand Up @@ -93,6 +93,12 @@ protected function getSession()
*/
protected function mapRemoteFilePath($file)
{
$realPath = realpath($file);

if (false !== $realPath) {
$file = $realPath;
}

return self::getConfig()->mapRemoteFilePath($file);
}

Expand Down

0 comments on commit 45c5bfe

Please sign in to comment.