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:
authorThomas Steur <tsteur@users.noreply.github.com>2019-09-17 23:35:22 +0300
committerdiosmosis <diosmosis@users.noreply.github.com>2019-09-17 23:35:22 +0300
commit42b4ab13bc36511fabbf376e098e07ffae0d674a (patch)
tree1deef1ec16dca25b3a41cd200d5a481f7803e157 /tests/PHPUnit/Integration/AssetManager/UIAssetMinifierTest.php
parent583d8d1c28cf0b96810a81dfb7c76a3c1140d764 (diff)
Fix user path was not working as it should (allow placing config file outside webroot) (#14866)
* Fix user path was not working as it should * fix error
Diffstat (limited to 'tests/PHPUnit/Integration/AssetManager/UIAssetMinifierTest.php')
-rw-r--r--tests/PHPUnit/Integration/AssetManager/UIAssetMinifierTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/PHPUnit/Integration/AssetManager/UIAssetMinifierTest.php b/tests/PHPUnit/Integration/AssetManager/UIAssetMinifierTest.php
index 9fde0b351b..c45c92876a 100644
--- a/tests/PHPUnit/Integration/AssetManager/UIAssetMinifierTest.php
+++ b/tests/PHPUnit/Integration/AssetManager/UIAssetMinifierTest.php
@@ -45,7 +45,7 @@ class UIAssetMinifierTest extends \PHPUnit_Framework_TestCase
*/
public function test_isMinifiedJs($scriptFileName, $isMinified)
{
- $scriptFile = new OnDiskUIAsset(PIWIK_USER_PATH, $scriptFileName);
+ $scriptFile = new OnDiskUIAsset(PIWIK_DOCUMENT_ROOT, $scriptFileName);
$this->assertEquals(
$isMinified,