From 5f6abcfd84c44f6b5ffe35e01a7b73a74969b1bc Mon Sep 17 00:00:00 2001 From: diosmosis <benaka@piwik.pro> Date: Thu, 9 Oct 2014 20:58:21 -0700 Subject: [PATCH] Execute console commands with -v in screenshot tests. --- tests/lib/screenshot-testing/support/test-environment.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/lib/screenshot-testing/support/test-environment.js b/tests/lib/screenshot-testing/support/test-environment.js index 36807dac89..7c0911d5cc 100644 --- a/tests/lib/screenshot-testing/support/test-environment.js +++ b/tests/lib/screenshot-testing/support/test-environment.js @@ -93,7 +93,7 @@ TestingEnvironment.prototype._call = function (params, done) { TestingEnvironment.prototype.executeConsoleCommand = function (command, args, callback) { var consoleFile = path.join(PIWIK_INCLUDE_PATH, 'console'), - commandArgs = [consoleFile, command].concat(args), + commandArgs = [consoleFile, command, '-v'].concat(args), child = require('child_process').spawn(config.php, commandArgs); var firstLine = true; -- GitLab