summaryrefslogtreecommitdiff
path: root/modules/system/tests/system_cron_test.module
diff options
context:
space:
mode:
Diffstat (limited to 'modules/system/tests/system_cron_test.module')
-rw-r--r--modules/system/tests/system_cron_test.module15
1 files changed, 15 insertions, 0 deletions
diff --git a/modules/system/tests/system_cron_test.module b/modules/system/tests/system_cron_test.module
new file mode 100644
index 000000000..9ef80e231
--- /dev/null
+++ b/modules/system/tests/system_cron_test.module
@@ -0,0 +1,15 @@
+<?php
+
+/**
+ * @file
+ * Helper module for CronRunTestCase::testCronCacheExpiration().
+ */
+
+/**
+ * Implements hook_flush_caches().
+ */
+function system_cron_test_flush_caches() {
+ // Set a variable to indicate that this hook was invoked.
+ variable_set('system_cron_test_flush_caches', 1);
+ return array();
+}