You are here

protected function TestCase::mapRemoteFilePath in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/behat/mink/driver-testsuite/tests/TestCase.php \Behat\Mink\Tests\Driver\TestCase::mapRemoteFilePath()

Map remote file path.

Parameters

string $file File path.:

Return value

string

1 call to TestCase::mapRemoteFilePath()
GeneralTest::testAdvancedForm in vendor/behat/mink/driver-testsuite/tests/Form/GeneralTest.php

File

vendor/behat/mink/driver-testsuite/tests/TestCase.php, line 128

Class

TestCase

Namespace

Behat\Mink\Tests\Driver

Code

protected function mapRemoteFilePath($file) {
  $realPath = realpath($file);
  if (false !== $realPath) {
    $file = $realPath;
  }
  return self::getConfig()
    ->mapRemoteFilePath($file);
}