From 2c2869155ba7998bb4b035c0d46c067b2f4d484b Mon Sep 17 00:00:00 2001 From: diosmosis <benakamoorthi@fastmail.fm> Date: Fri, 21 Feb 2014 04:26:18 +0000 Subject: [PATCH] Fixing build for branch.ph --- tests/PHPUnit/Core/SegmentTest.php | 4 ++-- tests/PHPUnit/Fixture.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/PHPUnit/Core/SegmentTest.php b/tests/PHPUnit/Core/SegmentTest.php index 5a61fe2b33..1b272cc7a7 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 e8ef44ea09..b35dcd45ad 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}"); } } -- GitLab