Skip to content

Commit 3509eac

Browse files
committed
fix 16 for test
1 parent 2e329a0 commit 3509eac

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

tests/ConstructTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
class ConstructTest extends PHPUnit\Framework\TestCase
3+
class ConstructTest extends \PHPUnit_Framework_TestCase
44
{
55
public function testInit()
66
{

tests/bootstrap.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
<?php
22

3+
if (! class_exists('\PHPUnit_Framework_TestCase') && class_exists('\PHPUnit\Framework\TestCase')) {
4+
class_alias('\PHPUnit\Framework\TestCase', '\PHPUnit_Framework_TestCase');
5+
}
6+
37
#include 'Parserus.php';
48

59
spl_autoload_register(

0 commit comments

Comments
 (0)