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>2017-03-17 03:49:15 +0300
committerGitHub <noreply@github.com>2017-03-17 03:49:15 +0300
commit1874dd07c3b2f238b1f9e58797894523ab566934 (patch)
tree1c5e54d1bb3ed2b2c211c0bb7a029acaf339aa4f /plugins
parent3869b4c62b8e3e9cf5574c697385d07b29c1a187 (diff)
Add new option to ignore ssl errors when running U tests via PhantomJS (#11482)
* Add new option to ignore ssl errors when running U tests via PhantomJS If nobody has a problem with it, can also add this option by default as there should be no problem with it. * set ignore ssl error by default
Diffstat (limited to 'plugins')
-rw-r--r--plugins/TestRunner/Commands/TestsRunUI.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/TestRunner/Commands/TestsRunUI.php b/plugins/TestRunner/Commands/TestsRunUI.php
index f227e74ef6..dc31162929 100644
--- a/plugins/TestRunner/Commands/TestsRunUI.php
+++ b/plugins/TestRunner/Commands/TestsRunUI.php
@@ -44,7 +44,7 @@ class TestsRunUI extends ConsoleCommand
protected function execute(InputInterface $input, OutputInterface $output)
{
$specs = $input->getArgument('specs');
- $persistFixtureData = $input->getOption("persist-fixture-data");
+ $persistFixtureData = $input->getOption('persist-fixture-data');
$keepSymlinks = $input->getOption('keep-symlinks');
$printLogs = $input->getOption('print-logs');
$drop = $input->getOption('drop');
@@ -105,6 +105,8 @@ class TestsRunUI extends ConsoleCommand
$phantomJsOptions[] = "--debug=true";
}
+ $phantomJsOptions[] = "--ignore-ssl-errors=true";
+
if ($extraOptions) {
$options[] = $extraOptions;
}