From c3d0a0c67cb49584745d7513c49da9f686d21f87 Mon Sep 17 00:00:00 2001 From: diosmosis <benakamoorthi@fastmail.fm> Date: Sun, 30 Mar 2014 17:48:03 +0100 Subject: [PATCH] Fix diffviewer path. --- tests/lib/screenshot-testing/support/app.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 () { -- GitLab