diff options
Diffstat (limited to 'tests/PHPUnit/BenchmarkTestCase.php')
-rwxr-xr-x | tests/PHPUnit/BenchmarkTestCase.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/PHPUnit/BenchmarkTestCase.php b/tests/PHPUnit/BenchmarkTestCase.php index d62038a8e9..42b54260e6 100755 --- a/tests/PHPUnit/BenchmarkTestCase.php +++ b/tests/PHPUnit/BenchmarkTestCase.php @@ -8,6 +8,7 @@ use Piwik\Config; use Piwik\Db; use Piwik\Common; +use Piwik\Plugins\Goals\API; require_once PIWIK_INCLUDE_PATH . '/tests/PHPUnit/IntegrationTestCase.php'; require_once PIWIK_INCLUDE_PATH . '/tests/LocalTracker.php'; @@ -107,7 +108,7 @@ class Piwik_Test_Fixture_EmptyOneSite $this->date, $ecommerce = 1, $siteName = "Site #0", $siteUrl = "http://whatever.com/"); // add two goals - $goals = Piwik_Goals_API::getInstance(); + $goals = API::getInstance(); $goals->addGoal($this->idSite, 'all', 'url', 'http', 'contains', false, 5); $goals->addGoal($this->idSite, 'all', 'url', 'http', 'contains'); } |