Using PHPUnit ^4.8.36 and some PHPUnit stuffs

This commit is contained in:
peter279k 2020-12-13 10:58:45 +08:00 committed by Josh Sherman
parent 49d20e06a8
commit b15f862193
4 changed files with 11 additions and 22 deletions

View file

@ -1,18 +1,9 @@
<?php
namespace HolidayAPI\Tests;
use HolidayAPI\Client;
use HolidayAPI\Request;
use PHPUnit\Framework\TestCase;
require __DIR__ . '/../vendor/autoload.php';
if (
!class_exists('\PHPUnit_Framework_TestCase')
&& class_exists('\PHPUnit\Framework\TestCase')
) {
class_alias('\PHPUnit\Framework\TestCase', '\PHPUnit_Framework_TestCase');
}
class RequestTest extends \PHPUnit_Framework_TestCase
class RequestTest extends TestCase
{
public function testExecute()
{