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:
authordiosmosis <diosmosis@users.noreply.github.com>2018-12-31 02:57:25 +0300
committerGitHub <noreply@github.com>2018-12-31 02:57:25 +0300
commitaab30ac04217cc7a8776bf459149bf895eec67eb (patch)
tree12aadf522276ad2f8ccb9a5344f7b6e8158db00b /plugins/Insights
parent00b4e8f80f70b5361db582a556c037e6723bb024 (diff)
Fix insights test (#13924)
* Try to fix build. * try to fix build * Update expected screenshots.
Diffstat (limited to 'plugins/Insights')
-rw-r--r--plugins/Insights/API.php2
-rw-r--r--plugins/Insights/Model.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Insights/API.php b/plugins/Insights/API.php
index dd43c9fc0c..7f4daebbe5 100644
--- a/plugins/Insights/API.php
+++ b/plugins/Insights/API.php
@@ -322,7 +322,7 @@ class API extends \Piwik\Plugin\API
'period' => $period,
'format' => 'original',
'reportUniqueId' => $reportId,
- 'totals' => 0
+ 'totals' => 0,
);
if (!empty($segment)) {
diff --git a/plugins/Insights/Model.php b/plugins/Insights/Model.php
index d4ebf307ba..6e0e00f792 100644
--- a/plugins/Insights/Model.php
+++ b/plugins/Insights/Model.php
@@ -42,7 +42,7 @@ class Model
'date' => $date,
'filter_limit' => 1000,
'showColumns' => $metric,
- 'totals' => 0
+ 'totals' => 1,
);
if (!empty($segment)) {