1
0
mirror of https://github.com/mrclay/minify.git synced 2025-09-01 18:02:54 +02:00

moved tests to minify\test namespace

This commit is contained in:
Elan Ruusamäe
2017-12-22 18:04:34 +02:00
parent 7d60fb9d0f
commit 9ee5fb7701
22 changed files with 107 additions and 36 deletions

View File

@@ -1,6 +1,9 @@
<?php
use Minify\Test\TestCase;
namespace Minify\Test;
use Exception;
use Minify_YUICompressor;
class MinifyYuiCSSTest extends TestCase
{
@@ -15,7 +18,8 @@ class MinifyYuiCSSTest extends TestCase
Minify_YUICompressor::$tempDir = sys_get_temp_dir();
}
public function setUp() {
public function setUp()
{
$this->assertHasJar();
}
@@ -51,7 +55,7 @@ class MinifyYuiCSSTest extends TestCase
{
$this->assertNotEmpty(Minify_YUICompressor::$jarFile);
try {
$this->assertFileExists(Minify_YUICompressor::$jarFile , "Have YUI yuicompressor.jar");
$this->assertFileExists(Minify_YUICompressor::$jarFile, "Have YUI yuicompressor.jar");
} catch (Exception $e) {
$this->markTestSkipped($e->getMessage());
}