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:
authorMatthieu Aubry <matt@piwik.org>2015-09-11 07:37:03 +0300
committerMatthieu Aubry <matt@piwik.org>2015-09-11 07:37:03 +0300
commitdeedaedfbe2fcbd441fe7d5150e04949a3d798ac (patch)
tree9c77add5683b13e606dbd485143e65495fba01d0 /tests/PHPUnit/Framework/Fixture.php
parentac9819ed26a17b4929aa1b587f6bfcee2362543d (diff)
parent460fa6249f383286422fe894403d85f66c0101fc (diff)
Merge pull request #8726 from piwik/scheduled_reports_catch
Catch exceptions in ScheduledReports generation so reports will still generate if individual reports fail
Diffstat (limited to 'tests/PHPUnit/Framework/Fixture.php')
-rw-r--r--tests/PHPUnit/Framework/Fixture.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/PHPUnit/Framework/Fixture.php b/tests/PHPUnit/Framework/Fixture.php
index a048dad516..3d53b796d8 100644
--- a/tests/PHPUnit/Framework/Fixture.php
+++ b/tests/PHPUnit/Framework/Fixture.php
@@ -40,6 +40,7 @@ use Piwik\Plugins\UsersManager\UsersManager;
use Piwik\ReportRenderer;
use Piwik\SettingsPiwik;
use Piwik\SettingsServer;
+use Piwik\Singleton;
use Piwik\Site;
use Piwik\Tests\Framework\Mock\FakeAccess;
use Piwik\Tests\Framework\TestCase\SystemTestCase;
@@ -350,6 +351,7 @@ class Fixture extends \PHPUnit_Framework_Assert
PiwikCache::getEagerCache()->flushAll();
ArchiveTableCreator::clear();
\Piwik\Plugins\ScheduledReports\API::$cache = array();
+ Singleton::clearAll();
$_GET = $_REQUEST = array();
Translate::reset();