From 92f8cd10195bad2010bec78fe12505dab33b2059 Mon Sep 17 00:00:00 2001 From: Matthieu Napoli Date: Mon, 8 Dec 2014 15:34:48 +1300 Subject: [PATCH] Moved unit test to integration test (was hitting the DB, which may not exist in unit tests) --- tests/PHPUnit/{Unit => Integration}/DependencyTest.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) rename tests/PHPUnit/{Unit => Integration}/DependencyTest.php (98%) diff --git a/tests/PHPUnit/Unit/DependencyTest.php b/tests/PHPUnit/Integration/DependencyTest.php similarity index 98% rename from tests/PHPUnit/Unit/DependencyTest.php rename to tests/PHPUnit/Integration/DependencyTest.php index 37912aee394..0f0de5562cf 100644 --- a/tests/PHPUnit/Unit/DependencyTest.php +++ b/tests/PHPUnit/Integration/DependencyTest.php @@ -6,16 +6,17 @@ * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later */ -namespace Piwik\Tests\Unit; +namespace Piwik\Tests\Integration; use Piwik\Plugin\Dependency; use Piwik\Plugin\Manager as PluginManager; +use Piwik\Tests\Framework\TestCase\IntegrationTestCase; use Piwik\Version; /** * @group Core */ -class DependencyTest extends \PHPUnit_Framework_TestCase +class DependencyTest extends IntegrationTestCase { /** * @var Dependency