1
0
mirror of https://github.com/mrclay/minify.git synced 2025-08-20 12:51:52 +02:00

Test fixes

This commit is contained in:
Steve Clay
2024-01-04 00:19:32 -05:00
parent aa3721156e
commit bc1ffdc5fc
17 changed files with 85 additions and 69 deletions

View File

@@ -6,7 +6,9 @@ use Minify_HTML_Helper;
class LessSourceTest extends TestCase
{
public function setUp()
public string $realDocRoot;
public function setUp(): void
{
$this->realDocRoot = $_SERVER['DOCUMENT_ROOT'];
$_SERVER['DOCUMENT_ROOT'] = self::$document_root;