diff options
author | diosmosis <benakamoorthi@fastmail.fm> | 2014-03-30 20:48:03 +0400 |
---|---|---|
committer | diosmosis <benakamoorthi@fastmail.fm> | 2014-03-30 20:48:03 +0400 |
commit | c3d0a0c67cb49584745d7513c49da9f686d21f87 (patch) | |
tree | 02f880f44f22a3c68cbbff5443fb5980d05230e6 /tests/lib | |
parent | f818065bcc9c76d586fbefa3c8b8baf74da17564 (diff) |
Fix diffviewer path.
Diffstat (limited to 'tests/lib')
-rw-r--r-- | tests/lib/screenshot-testing/support/app.js | 4 |
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 () { |