summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG.txt1
-rw-r--r--tests/content.crud.test2
-rw-r--r--tests/content_test.info7
-rw-r--r--tests/content_test.module6
4 files changed, 15 insertions, 1 deletions
diff --git a/CHANGELOG.txt b/CHANGELOG.txt
index 5eb1b6c..414f55b 100644
--- a/CHANGELOG.txt
+++ b/CHANGELOG.txt
@@ -2,6 +2,7 @@
CCK 6.x-3.x
===========
+- Issue #1401950 by KarenS, Add empty test module with dependency on schema to make schema available to testbot.
- Issue #1363036 by markdorison, Fix Class 'ContentCrudTestCase' not found message in tests.
- #1097548 by DeFr: Fixed warning on node forms for multigroups without any required fields.
diff --git a/tests/content.crud.test b/tests/content.crud.test
index 12b97f1..8160828 100644
--- a/tests/content.crud.test
+++ b/tests/content.crud.test
@@ -20,7 +20,7 @@ class ContentCrudTestCase extends DrupalWebTestCase {
*/
function setUp() {
$args = func_get_args();
- $modules = array_merge(array('content', 'schema', 'text'), $args);
+ $modules = array_merge(array('content_test', 'content', 'schema', 'text'), $args);
call_user_func_array(array('parent','setUp'), $modules);
module_load_include('inc', 'content', 'includes/content.crud');
}
diff --git a/tests/content_test.info b/tests/content_test.info
new file mode 100644
index 0000000..eeff9d7
--- /dev/null
+++ b/tests/content_test.info
@@ -0,0 +1,7 @@
+name = Content Test
+description = Test module for CCK.
+package = CCK
+core = 6.x
+dependencies[] = schema
+hidden = TRUE
+files[] = content_test.module \ No newline at end of file
diff --git a/tests/content_test.module b/tests/content_test.module
new file mode 100644
index 0000000..936d256
--- /dev/null
+++ b/tests/content_test.module
@@ -0,0 +1,6 @@
+<?php
+/**
+ * @file
+ * A module to use in tests.
+ */
+// No code here, currently used to create a dependency on schema module.