mirror of
https://github.com/mosbth/cimage.git
synced 2025-08-26 01:03:41 +02:00
Corrected behaviour for skip-original. Fix #60
This commit is contained in:
33
webroot/test/test_issue60.php
Normal file
33
webroot/test/test_issue60.php
Normal file
@@ -0,0 +1,33 @@
|
||||
<?php
|
||||
// Include config for all testcases
|
||||
include __DIR__ . "/config.php";
|
||||
|
||||
|
||||
|
||||
// The title of the test case
|
||||
$title = "Testing issue 60 - skip original";
|
||||
|
||||
|
||||
|
||||
// Provide a short description of the testcase.
|
||||
$description = "Always use the original if suitable, use skip-original to force using the cached version.";
|
||||
|
||||
|
||||
|
||||
// Use these images in the test
|
||||
$images = array(
|
||||
'car.png',
|
||||
);
|
||||
|
||||
|
||||
|
||||
// For each image, apply these testcases
|
||||
$testcase = array(
|
||||
'',
|
||||
'&so',
|
||||
);
|
||||
|
||||
|
||||
|
||||
// Apply testcases and present results
|
||||
include __DIR__ . "/template.php";
|
Reference in New Issue
Block a user