mirror of
https://github.com/mrclay/minify.git
synced 2025-08-12 17:14:24 +02:00
add common TestCase class
This commit is contained in:
committed by
Steve Clay
parent
08070aecdb
commit
4bfe976916
@@ -2,16 +2,8 @@
|
||||
|
||||
use JSMin\JSMin;
|
||||
|
||||
class JsMinTest extends PHPUnit_Framework_TestCase
|
||||
class JsMinTest extends TestCase
|
||||
{
|
||||
/** @var string */
|
||||
static $test_files;
|
||||
|
||||
public static function setupBeforeClass()
|
||||
{
|
||||
self::$test_files = __DIR__ . '/../min_unit_tests/_test_files';
|
||||
}
|
||||
|
||||
public function test1()
|
||||
{
|
||||
$src = file_get_contents(self::$test_files . '/js/before.js');
|
||||
|
Reference in New Issue
Block a user