From 2f5777e5f0fdd27b4bf12ddc5f510f13ba2c2bfe Mon Sep 17 00:00:00 2001 From: John Bintz Date: Thu, 12 Nov 2009 20:29:05 -0500 Subject: [PATCH] missed a test branch --- phpunit.xml | 2 +- test/ComicPressAdminTest.php | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+), 1 deletion(-) 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'), + ) + ) + ), ); }