summaryrefslogtreecommitdiff
path: root/modules/simpletest
diff options
context:
space:
mode:
authorDavid Rothstein <drothstein@gmail.com>2012-09-15 17:24:47 -0400
committerDavid Rothstein <drothstein@gmail.com>2012-09-15 17:24:47 -0400
commit4d392996a29b5e650018d403684333884530b9c6 (patch)
treebcaceb7598a2437898f991fe66ca140ff0614bec /modules/simpletest
parenta6cc373efafadca346d94d1e8ccb9f31b9c5f4a0 (diff)
downloadbrdo-4d392996a29b5e650018d403684333884530b9c6.tar.gz
brdo-4d392996a29b5e650018d403684333884530b9c6.tar.bz2
Issue #1761086 by cam8001, Berdir, larowlan: Fixed Caching in image_effects_definitions() broken.
Diffstat (limited to 'modules/simpletest')
-rw-r--r--modules/simpletest/tests/image.test8
1 files changed, 7 insertions, 1 deletions
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';