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
path: root/tests/lib
diff options
context:
space:
mode:
authordiosmosis <benakamoorthi@fastmail.fm>2014-03-30 20:48:03 +0400
committerdiosmosis <benakamoorthi@fastmail.fm>2014-03-30 20:48:03 +0400
commitc3d0a0c67cb49584745d7513c49da9f686d21f87 (patch)
tree02f880f44f22a3c68cbbff5443fb5980d05230e6 /tests/lib
parentf818065bcc9c76d586fbefa3c8b8baf74da17564 (diff)
Fix diffviewer path.
Diffstat (limited to 'tests/lib')
-rw-r--r--tests/lib/screenshot-testing/support/app.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/lib/screenshot-testing/support/app.js b/tests/lib/screenshot-testing/support/app.js
index 9aa89c7efd..fb0f6ace32 100644
--- a/tests/lib/screenshot-testing/support/app.js
+++ b/tests/lib/screenshot-testing/support/app.js
@@ -35,7 +35,9 @@ var walk = function (dir, pattern, result) {
var Application = function () {
this.runner = null;
- this.diffViewerGenerator = new DiffViewerGenerator();
+
+ var diffviewerDir = path.join(PIWIK_INCLUDE_PATH, 'tests/PHPUnit/UI', config.screenshotDiffDir);
+ this.diffViewerGenerator = new DiffViewerGenerator(diffviewerDir);
};
Application.prototype.printHelpAndExit = function () {