Let's try a polyfill

This commit is contained in:
Josh Sherman 2017-05-28 16:16:50 -05:00
parent c270610543
commit 02bae95170
No known key found for this signature in database
GPG key ID: 55B058A80530EF22

View file

@ -2,6 +2,10 @@
require_once '../src/LoremIpsum.php';
if (!class_exists('\PHPUnit_Framework_TestCase') && class_exists('\PHPUnit\Framework\TestCase')) {
class_alias('\PHPUnit\Framework\TestCase', '\PHPUnit_Framework_TestCase');
}
class LoremIpsumTest extends PHPUnit_Framework_TestCase
{
private $lipsum;