Skip to content

Commit

Permalink
Test superclass proxy should be defined as abstract
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasWeinert committed Feb 8, 2017
1 parent 1839b1e commit 267823c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/FluentDOM/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
require_once(__DIR__.'/../../vendor/autoload.php');

if (!class_exists('PHPUnit_Framework_TestCase')) {
class PHPUnit_TestCase extends \PHPUnit\Framework\TestCase {}
abstract class PHPUnit_TestCase extends \PHPUnit\Framework\TestCase {}
} else {
class PHPUnit_TestCase extends \PHPUnit_Framework_TestCase {}
abstract class PHPUnit_TestCase extends \PHPUnit_Framework_TestCase {}
}

abstract class TestCase extends PHPUnit_TestCase {
Expand Down

0 comments on commit 267823c

Please sign in to comment.