summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-04-02 20:50:37 +0000
committerDries Buytaert <dries@buytaert.net>2009-04-02 20:50:37 +0000
commit238c2a61e6337c6cca094a06ee90667c2ada5988 (patch)
tree82398872fb675d0cb1aa09758b36f8ff144642ed
parentf3c784ae4090883d12d768c50ff7445610f917db (diff)
downloadbrdo-238c2a61e6337c6cca094a06ee90667c2ada5988.tar.gz
brdo-238c2a61e6337c6cca094a06ee90667c2ada5988.tar.bz2
- Patch #417560 by JamesAn: moving the test files to a test directory.
-rw-r--r--modules/aggregator/aggregator.test2
-rw-r--r--modules/aggregator/tests/aggregator_test.info (renamed from modules/aggregator/aggregator_test.info)0
-rw-r--r--modules/aggregator/tests/aggregator_test.module (renamed from modules/aggregator/aggregator_test.module)2
-rw-r--r--modules/aggregator/tests/aggregator_test_rss091.xml (renamed from modules/aggregator/aggregator_test_rss091.xml)0
4 files changed, 2 insertions, 2 deletions
diff --git a/modules/aggregator/aggregator.test b/modules/aggregator/aggregator.test
index 058af286c..7d71760a5 100644
--- a/modules/aggregator/aggregator.test
+++ b/modules/aggregator/aggregator.test
@@ -239,7 +239,7 @@ EOF;
}
function getRSS091Sample() {
- return $GLOBALS['base_url'] . '/' . drupal_get_path('module', 'aggregator') . '/aggregator_test_rss091.xml';
+ return $GLOBALS['base_url'] . '/' . drupal_get_path('module', 'aggregator') . '/tests/aggregator_test_rss091.xml';
}
function createSampleNodes() {
diff --git a/modules/aggregator/aggregator_test.info b/modules/aggregator/tests/aggregator_test.info
index 1cc6ebfe8..1cc6ebfe8 100644
--- a/modules/aggregator/aggregator_test.info
+++ b/modules/aggregator/tests/aggregator_test.info
diff --git a/modules/aggregator/aggregator_test.module b/modules/aggregator/tests/aggregator_test.module
index 6ea04db07..4c17d73f6 100644
--- a/modules/aggregator/aggregator_test.module
+++ b/modules/aggregator/tests/aggregator_test.module
@@ -50,7 +50,7 @@ function aggregator_test_feed($use_last_modified = FALSE, $use_etag = FALSE) {
drupal_set_header('Content-Type: application/rss+xml; charset=utf-8');
// Read actual feed from file.
- $file_name = DRUPAL_ROOT . '/' . drupal_get_path('module', 'aggregator') . '/aggregator_test_rss091.xml';
+ $file_name = DRUPAL_ROOT . '/' . drupal_get_path('module', 'aggregator') . '/tests/aggregator_test_rss091.xml';
$handle = fopen($file_name, 'r');
$feed = fread($handle, filesize($file_name));
fclose($handle);
diff --git a/modules/aggregator/aggregator_test_rss091.xml b/modules/aggregator/tests/aggregator_test_rss091.xml
index 9576f7c16..9576f7c16 100644
--- a/modules/aggregator/aggregator_test_rss091.xml
+++ b/modules/aggregator/tests/aggregator_test_rss091.xml