Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordiosmosis <benakamoorthi@fastmail.fm>2014-07-09 12:32:32 +0400
committerdiosmosis <benakamoorthi@fastmail.fm>2014-07-09 12:32:32 +0400
commit7c553850d2cae3f5ec594ecb6d051b428d4b88ae (patch)
treefd996424e624a03dddc6276f90b871da62479d64 /plugins/ExamplePlugin/tests
parent05207e39786e7fe155b3b15b2ffb8619be01ad8d (diff)
Refs #5800, add namespaces to integration tests in root folder. Also add IntegrationTestCase to a namespace, re-add individual test @groups, move test groups to class level, and rename test files & class names so underscores are not used.
Diffstat (limited to 'plugins/ExamplePlugin/tests')
-rw-r--r--plugins/ExamplePlugin/tests/SimpleIntegrationTest.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/plugins/ExamplePlugin/tests/SimpleIntegrationTest.php b/plugins/ExamplePlugin/tests/SimpleIntegrationTest.php
index 3debdd9829..f9cebb8c72 100644
--- a/plugins/ExamplePlugin/tests/SimpleIntegrationTest.php
+++ b/plugins/ExamplePlugin/tests/SimpleIntegrationTest.php
@@ -7,14 +7,16 @@
*/
namespace Piwik\Plugins\ExamplePlugin\tests;
+
use Piwik\Plugins\ExamplePlugin\tests\fixtures\SimpleFixtureTrackFewVisits;
+use Piwik\Tests\IntegrationTestCase;
/**
* @group ExamplePlugin
* @group SimpleIntegrationTest
* @group Plugins
*/
-class SimpleIntegrationTest extends \IntegrationTestCase
+class SimpleIntegrationTest extends IntegrationTestCase
{
/**
* @var SimpleFixtureTrackFewVisits
@@ -59,5 +61,4 @@ class SimpleIntegrationTest extends \IntegrationTestCase
}
-SimpleIntegrationTest::$fixture = new SimpleFixtureTrackFewVisits();
-
+SimpleIntegrationTest::$fixture = new SimpleFixtureTrackFewVisits(); \ No newline at end of file