1
0
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:
Elan Ruusamäe
2015-11-18 17:17:43 +02:00
committed by Steve Clay
parent 08070aecdb
commit 4bfe976916
3 changed files with 16 additions and 9 deletions

View File

@@ -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');