diff options
author | Matthieu Napoli <matthieu@mnapoli.fr> | 2015-02-09 06:22:42 +0300 |
---|---|---|
committer | Matthieu Napoli <matthieu@mnapoli.fr> | 2015-02-09 06:22:42 +0300 |
commit | 6a8228c483e329f6ab7aa7f33fd877dfacf6baef (patch) | |
tree | 1864e457643591e053400e28a0698757f4538d74 /plugins | |
parent | 8a15d3a0ee47d24582843cd0c157d69ff16a8907 (diff) |
Fix integration test
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/API/tests/Integration/RssRendererTest.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/API/tests/Integration/RssRendererTest.php b/plugins/API/tests/Integration/RssRendererTest.php index 20ed016a61..4aa9966801 100644 --- a/plugins/API/tests/Integration/RssRendererTest.php +++ b/plugins/API/tests/Integration/RssRendererTest.php @@ -12,6 +12,7 @@ use Piwik\Access; use Piwik\DataTable; use Piwik\Plugins\API\Renderer\Rss; use Piwik\Tests\Framework\Fixture; +use Piwik\Tests\Framework\Mock\FakeAccess; use Piwik\Tests\Framework\TestCase\IntegrationTestCase; /** @@ -29,8 +30,8 @@ class RssRendererTest extends IntegrationTestCase { parent::setUp(); - $pseudoMockAccess = new \FakeAccess(); - \FakeAccess::setSuperUserAccess(true); + $pseudoMockAccess = new FakeAccess(); + FakeAccess::setSuperUserAccess(true); Access::setSingletonInstance($pseudoMockAccess); $idSite = Fixture::createWebsite('2014-01-01 00:00:00'); |