Skip to content
Snippets Groups Projects
Commit 238c2a61 authored by Dries Buytaert's avatar Dries Buytaert
Browse files

- Patch #417560 by JamesAn: moving the test files to a test directory.

parent f3c784ae
No related branches found
No related tags found
No related merge requests found
......@@ -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() {
......
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment