diff --git a/phpunit.xml b/phpunit.xml index 97e1e24..7edc663 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -3,4 +3,4 @@ - \ No newline at end of file + diff --git a/test/ComicPressAdminTest.php b/test/ComicPressAdminTest.php index c60b5e9..6a15fd2 100644 --- a/test/ComicPressAdminTest.php +++ b/test/ComicPressAdminTest.php @@ -80,6 +80,24 @@ class ComicPressAdminTest extends PHPUnit_Framework_TestCase { ) ) ), + array( + array( + 'image_types' => array( + 'comic' => array('default' => true, 'dimensions' => '500x50'), + 'archive' => array('dimensions' => '100x100'), + ) + ), + array( + 'image_types' => array( + 'archive' => array('dimensions' => array('width' => '100', 'height' => '100')), + ) + ), + array( + 'image_types' => array( + 'archive' => array('default' => true, 'dimensions' => '100x100'), + ) + ) + ), ); }