From 4d392996a29b5e650018d403684333884530b9c6 Mon Sep 17 00:00:00 2001 From: David Rothstein Date: Sat, 15 Sep 2012 17:24:47 -0400 Subject: Issue #1761086 by cam8001, Berdir, larowlan: Fixed Caching in image_effects_definitions() broken. --- modules/simpletest/tests/image.test | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'modules/simpletest/tests') diff --git a/modules/simpletest/tests/image.test b/modules/simpletest/tests/image.test index 962aa661f..403c9d7d8 100644 --- a/modules/simpletest/tests/image.test +++ b/modules/simpletest/tests/image.test @@ -14,7 +14,13 @@ class ImageToolkitTestCase extends DrupalWebTestCase { protected $image; function setUp() { - parent::setUp('image_test'); + $modules = func_get_args(); + if (isset($modules[0]) && is_array($modules[0])) { + $modules = $modules[0]; + } + $modules[] = 'image_test'; + + parent::setUp($modules); // Use the image_test.module's test toolkit. $this->toolkit = 'test'; -- cgit v1.2.3