diff --git a/tests/PHPUnit/Core/SegmentTest.php b/tests/PHPUnit/Core/SegmentTest.php index 5a61fe2b335a9330459a7ad7102dfa64a7600465..1b272cc7a78bf49d893bc4a55fd38070e2c61942 100644 --- a/tests/PHPUnit/Core/SegmentTest.php +++ b/tests/PHPUnit/Core/SegmentTest.php @@ -20,13 +20,13 @@ class SegmentTest extends PHPUnit_Framework_TestCase FakeAccess::$superUser = true; Access::setSingletonInstance($pseudoMockAccess); - IntegrationTestCase::loadAllPlugins(); + Fixture::loadAllPlugins(); } public function tearDown() { parent::tearDown(); - IntegrationTestCase::unloadAllPlugins(); + Fixture::unloadAllPlugins(); } protected function _filterWhitsSpaces($valueToFilter) diff --git a/tests/PHPUnit/Fixture.php b/tests/PHPUnit/Fixture.php index e8ef44ea0911b0269b746e01377663f8d1067666..b35dcd45adb26b86ae1b631e297a433c41fe54c1 100644 --- a/tests/PHPUnit/Fixture.php +++ b/tests/PHPUnit/Fixture.php @@ -169,7 +169,7 @@ class Fixture extends PHPUnit_Framework_Assert $this->markFixtureSetUp(); } else { - echo "---Using existing database {$this->dbName}---\n\n"; + \Piwik\Log::info("Using existing database {$this->dbName}"); } }