Skip to content

Commit

Permalink
Backward compat for PHPUnit
Browse files Browse the repository at this point in the history
  • Loading branch information
fpoirotte committed Feb 5, 2017
1 parent 72fcd40 commit ec67737
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/AutoIdentTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@
along with Erebot. If not, see <http://www.gnu.org/licenses/>.
*/

if (!class_exists('PHPUnit_Framework_TestCase')) {
class_alias('\\PHPUnit\\Framework\\TestCase', 'PHPUnit_Framework_TestCase');
}

class AutoIdentTest
extends Erebot_Testenv_Module_TestCase
{
Expand Down

0 comments on commit ec67737

Please sign in to comment.