1
0
mirror of https://github.com/mrclay/minify.git synced 2025-08-02 12:21:09 +02:00
Files
minify/tests/MinifyCacheZendPlatformTest.php
Steve Clay bc1ffdc5fc Test fixes
2024-01-04 01:00:44 -05:00

26 lines
624 B
PHP

<?php
namespace Minify\Test;
use Minify_Cache_ZendPlatform;
class MinifyCacheZendPlatformTest extends TestCase
{
public function setUp(): void
{
if (!function_exists('output_cache_put')) {
// FIXME: be specific what to actually install
$this->markTestSkipped("To test this component, install ZendPlatform");
}
}
public function test1()
{
$data = str_repeat(md5(time()) . 'í', 100); // 3400 bytes in UTF-8
$id = 'Minify_test_cache';
$cache = new Minify_Cache_ZendPlatform();
$this->assertTestCache($cache, $id, $data);
}
}