1
0
mirror of https://github.com/mrclay/minify.git synced 2025-08-31 01:29:56 +02:00

port MinifyHTMLHelperTest to phpunit

This commit is contained in:
Elan Ruusamäe
2015-11-19 19:18:43 +02:00
committed by Steve Clay
parent fa9f5db843
commit 16b8296c34
4 changed files with 79 additions and 74 deletions

View File

@@ -2,12 +2,15 @@
class TestCase extends PHPUnit_Framework_TestCase
{
/** @var string */
protected static $document_root;
/** @var string */
protected static $test_files;
public static function setupBeforeClass()
{
self::$test_files = __DIR__ . '/../min_unit_tests/_test_files';
self::$document_root = __DIR__ . '/../min_unit_tests';
self::$test_files = self::$document_root . '/_test_files';
}
/**