Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsgiehl <stefan@piwik.org>2018-02-02 21:27:39 +0300
committersgiehl <stefan@piwik.org>2018-02-02 21:27:39 +0300
commit1707d7226f2ee40f9c7937982a8d78606900d433 (patch)
tree5f866116ebedf0e889323807de9be39a55ce4530 /plugins/TestRunner/Commands/TestsSetupFixture.php
parenta99e0ef3f6c0f6637c4582c03cbd66a038022c46 (diff)
fix test setup
Diffstat (limited to 'plugins/TestRunner/Commands/TestsSetupFixture.php')
-rw-r--r--plugins/TestRunner/Commands/TestsSetupFixture.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/TestRunner/Commands/TestsSetupFixture.php b/plugins/TestRunner/Commands/TestsSetupFixture.php
index 9e6a541e1e..f6263fafee 100644
--- a/plugins/TestRunner/Commands/TestsSetupFixture.php
+++ b/plugins/TestRunner/Commands/TestsSetupFixture.php
@@ -157,6 +157,7 @@ class TestsSetupFixture extends ConsoleCommand
foreach (array('libs', 'plugins', 'tests', 'misc', 'piwik.js') as $linkName) {
$linkPath = PIWIK_INCLUDE_PATH . '/tests/PHPUnit/proxy/' . $linkName;
if (!file_exists($linkPath)) {
+ $target = PIWIK_INCLUDE_PATH . '/' . $linkName;
$success = @symlink($target, $linkPath);
// setting symlink might fail when the symlink already exists but pointing to a no longer existing path/file
// eg when sometimes running it on a VM and sometimes on the VM's host itself.