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>2016-07-13 06:11:06 +0300
committerMatthieu Aubry <mattab@users.noreply.github.com>2016-07-13 06:11:06 +0300
commitdad0dae15cd8b62dbc91125e2d0e4078909aab73 (patch)
tree3f2124ca86630f9eec7b8d339671b99d8e33a8d4 /tests/PHPUnit/Framework/Mock
parent0a7197f54149b9764792bc7b50f208f55993f0b9 (diff)
Improved join generation for segments (#10264)
* better join generation for segments * do not update visit if there are no values to be updated
Diffstat (limited to 'tests/PHPUnit/Framework/Mock')
-rw-r--r--tests/PHPUnit/Framework/Mock/Plugin/LogTablesProvider.php28
1 files changed, 28 insertions, 0 deletions
diff --git a/tests/PHPUnit/Framework/Mock/Plugin/LogTablesProvider.php b/tests/PHPUnit/Framework/Mock/Plugin/LogTablesProvider.php
new file mode 100644
index 0000000000..c563e250cd
--- /dev/null
+++ b/tests/PHPUnit/Framework/Mock/Plugin/LogTablesProvider.php
@@ -0,0 +1,28 @@
+<?php
+
+namespace Piwik\Tests\Framework\Mock\Plugin;
+
+use Piwik\Plugins\CoreHome\Tracker\LogTable\Action;
+use Piwik\Plugins\CoreHome\Tracker\LogTable\Conversion;
+use Piwik\Plugins\CoreHome\Tracker\LogTable\ConversionItem;
+use Piwik\Plugins\CoreHome\Tracker\LogTable\LinkVisitAction;
+use Piwik\Plugins\CoreHome\Tracker\LogTable\Visit;
+
+class LogTablesProvider extends \Piwik\Plugin\LogTablesProvider
+{
+ public function __construct()
+ {
+ }
+
+ public function getAllLogTables()
+ {
+ return array(
+ new Visit(),
+ new Action(),
+ new LinkVisitAction(),
+ new ConversionItem(),
+ new Conversion()
+ );
+ }
+
+}