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:
Diffstat (limited to 'tests/PHPUnit/Plugins/MobileMessagingTest.php')
-rw-r--r--tests/PHPUnit/Plugins/MobileMessagingTest.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/PHPUnit/Plugins/MobileMessagingTest.php b/tests/PHPUnit/Plugins/MobileMessagingTest.php
index 648038220f..7460f51cbe 100644
--- a/tests/PHPUnit/Plugins/MobileMessagingTest.php
+++ b/tests/PHPUnit/Plugins/MobileMessagingTest.php
@@ -6,6 +6,8 @@
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
*/
+use Piwik\Access;
+
class MobileMessagingTest extends DatabaseTestCase
{
protected $idSiteAccess;
@@ -18,7 +20,7 @@ class MobileMessagingTest extends DatabaseTestCase
$pseudoMockAccess = new FakeAccess;
FakeAccess::$superUser = true;
//finally we set the user as a super user by default
- Piwik_Access::setSingletonInstance($pseudoMockAccess);
+ Access::setSingletonInstance($pseudoMockAccess);
$this->idSiteAccess = Piwik_SitesManager_API::getInstance()->addSite("test", "http://test");