diff --git a/tests/PHPUnit/BenchmarkTestCase.php b/tests/PHPUnit/BenchmarkTestCase.php index 6e57944af4f47037270ea4c0df041ce008b66c52..28e6128c484ba0f9ce51825e952c48711da92978 100755 --- a/tests/PHPUnit/BenchmarkTestCase.php +++ b/tests/PHPUnit/BenchmarkTestCase.php @@ -8,6 +8,7 @@ use Piwik\Config; use Piwik\Db; use Piwik\Plugins\Goals\API; +use Piwik\Tests\Fixture; require_once PIWIK_INCLUDE_PATH . '/tests/PHPUnit/IntegrationTestCase.php'; require_once PIWIK_INCLUDE_PATH . '/tests/LocalTracker.php'; @@ -20,7 +21,7 @@ foreach (glob(PIWIK_INCLUDE_PATH . '/tests/PHPUnit/Benchmarks/Fixtures/*.php') a /** * Base class for benchmarks. */ -abstract class BenchmarkTestCase extends IntegrationTestCase +abstract class BenchmarkTestCase extends \Piwik\Tests\IntegrationTestCase { protected static $fixture; diff --git a/tests/PHPUnit/Benchmarks/Fixtures/ManyThousandSitesOneVisitEach.php b/tests/PHPUnit/Benchmarks/Fixtures/ManyThousandSitesOneVisitEach.php index f399b9ffa791761b0d46201dcf70686b102ac054..38e89928bd04c4955ac64f086c5fdf541ad8cb12 100644 --- a/tests/PHPUnit/Benchmarks/Fixtures/ManyThousandSitesOneVisitEach.php +++ b/tests/PHPUnit/Benchmarks/Fixtures/ManyThousandSitesOneVisitEach.php @@ -7,6 +7,7 @@ */ use Piwik\Date; use Piwik\Plugins\Goals\API; +use Piwik\Tests\Fixture; /** * Reusable fixture. Adds 20,000 sites and tracks one pageview for each on one day. diff --git a/tests/PHPUnit/Benchmarks/Fixtures/OneSiteThousandsOfDistinctUrlsOverMonth.php b/tests/PHPUnit/Benchmarks/Fixtures/OneSiteThousandsOfDistinctUrlsOverMonth.php index cab9278adb38ef2457ffbb5559abc598e2a5cf56..554b18a6949de41c125b573c716d491508e6451b 100644 --- a/tests/PHPUnit/Benchmarks/Fixtures/OneSiteThousandsOfDistinctUrlsOverMonth.php +++ b/tests/PHPUnit/Benchmarks/Fixtures/OneSiteThousandsOfDistinctUrlsOverMonth.php @@ -7,6 +7,7 @@ */ use Piwik\Date; use Piwik\Plugins\Goals\API; +use Piwik\Tests\Fixture; /** * Adds one site and 1000 actions for every day of one month (January). Each diff --git a/tests/PHPUnit/Benchmarks/Fixtures/OneSiteTwelveThousandVisitsOneYear.php b/tests/PHPUnit/Benchmarks/Fixtures/OneSiteTwelveThousandVisitsOneYear.php index afd2b81c6ad917d8c6dab77628a1b7ac88c1ebbe..9b12e79e9f048f7221135b842f37477229a5cf62 100755 --- a/tests/PHPUnit/Benchmarks/Fixtures/OneSiteTwelveThousandVisitsOneYear.php +++ b/tests/PHPUnit/Benchmarks/Fixtures/OneSiteTwelveThousandVisitsOneYear.php @@ -7,6 +7,7 @@ */ use Piwik\Date; use Piwik\Plugins\Goals\API; +use Piwik\Tests\Fixture; /** * Reusable fixture. Tracks twelve thousand page views over a year for one site. diff --git a/tests/PHPUnit/Benchmarks/Fixtures/ThousandSitesTwelveVisitsEachOneDay.php b/tests/PHPUnit/Benchmarks/Fixtures/ThousandSitesTwelveVisitsEachOneDay.php index 564d80ed53863dcbf788f11e2dcd984f967c7b3b..fad6fc311f65fe78a18c0fdbf5ea55e4778bbdaa 100755 --- a/tests/PHPUnit/Benchmarks/Fixtures/ThousandSitesTwelveVisitsEachOneDay.php +++ b/tests/PHPUnit/Benchmarks/Fixtures/ThousandSitesTwelveVisitsEachOneDay.php @@ -7,6 +7,7 @@ */ use Piwik\Date; use Piwik\Plugins\Goals\API as APIGoals; +use Piwik\Tests\Fixture; /** * Reusable fixture. Tracks twelve thousand page views for 1000 sites on one day.