1
0
mirror of https://github.com/erusev/parsedown.git synced 2023-08-10 21:13:06 +03:00

update tests to reflect changes in phpunit 6.0

This commit is contained in:
Emanuil Rusev 2017-03-23 20:21:05 +02:00
parent 3fc442b078
commit 0a09d5ad45
3 changed files with 7 additions and 3 deletions

View File

@ -8,7 +8,7 @@
* @link http://commonmark.org/ CommonMark
* @link http://git.io/8WtRvQ JavaScript test runner
*/
class CommonMarkTest extends PHPUnit_Framework_TestCase
class CommonMarkTest extends \PHPUnit\Framework\TestCase
{
const SPEC_URL = 'https://raw.githubusercontent.com/jgm/stmd/master/spec.txt';

View File

@ -1,6 +1,6 @@
<?php
class ParsedownTest extends PHPUnit_Framework_TestCase
class ParsedownTest extends \PHPUnit\Framework\TestCase
{
final function __construct($name = null, array $data = array(), $dataName = '')
{

View File

@ -1,3 +1,7 @@
<?php
include 'Parsedown.php';
include 'Parsedown.php';
if ( ! class_exists('\PHPUnit\Framework\TestCase') && class_exists('\PHPUnit_Framework_TestCase')) {
class_alias('\PHPUnit_Framework_TestCase', '\PHPUnit\Framework\TestCase');
}