Permalink
Browse files

Making class abstract to avoid phpunit warning

  • Loading branch information...
1 parent 4165176 commit 1ce543a5b721ec20098d10e385b4dd08884e6af1 @mattab mattab committed Mar 7, 2014
@@ -12,11 +12,14 @@
use Piwik\DataTable\Row;
/**
+ * Abstract class because it avoids it being picked up as a test case
+ * (which would trigger warning because it has no test)
+ *
* @group Insights
* @group Unit
* @group Core
*/
-class BaseUnit extends \PHPUnit_Framework_TestCase
+abstract class BaseUnitTest extends \PHPUnit_Framework_TestCase
{
/**
* @var DataTable
@@ -18,7 +18,7 @@
* @group Unit
* @group Core
*/
-class FilterAverageTest extends BaseUnit
+class FilterAverageTest extends BaseUnitTest
{
public function setUp()
{
@@ -18,7 +18,7 @@
* @group Unit
* @group Core
*/
-class FilterExcludeLowValueTest extends BaseUnit
+class FilterExcludeLowValueTest extends BaseUnitTest
{
public function setUp()
{
@@ -18,7 +18,7 @@
* @group Unit
* @group Core
*/
-class FilterInsightTest extends BaseUnit
+class FilterInsightTest extends BaseUnitTest
{
/**
* @var DataTable
@@ -18,7 +18,7 @@
* @group Unit
* @group Core
*/
-class FilterLimitTest extends BaseUnit
+class FilterLimitTest extends BaseUnitTest
{
public function setUp()
{
@@ -18,7 +18,7 @@
* @group Unit
* @group Core
*/
-class FilterMinGrowthTest extends BaseUnit
+class FilterMinGrowthTest extends BaseUnitTest
{
public function setUp()
@@ -18,7 +18,7 @@
* @group Unit
* @group Core
*/
-class FilterOrderByTest extends BaseUnit
+class FilterOrderByTest extends BaseUnitTest
{
public function setUp()
{

0 comments on commit 1ce543a

Please sign in to comment.