summaryrefslogtreecommitdiff
path: root/modules/aggregator/aggregator.test
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2008-09-15 21:06:07 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2008-09-15 21:06:07 +0000
commit2f3146f04166cd817d680f60acb0d712b6e16470 (patch)
treee70570b29cce045d4acc2caad140f4429e92e3d2 /modules/aggregator/aggregator.test
parent161a9970f77ce6813e710e08076f5d4fc494259a (diff)
downloadbrdo-2f3146f04166cd817d680f60acb0d712b6e16470.tar.gz
brdo-2f3146f04166cd817d680f60acb0d712b6e16470.tar.bz2
#308434 follow-up by drewish: Small clean-ups to file.inc clean-ups.
Diffstat (limited to 'modules/aggregator/aggregator.test')
-rw-r--r--modules/aggregator/aggregator.test12
1 files changed, 4 insertions, 8 deletions
diff --git a/modules/aggregator/aggregator.test b/modules/aggregator/aggregator.test
index cac3b9069..282f0e868 100644
--- a/modules/aggregator/aggregator.test
+++ b/modules/aggregator/aggregator.test
@@ -151,8 +151,7 @@ class AggregatorTestCase extends DrupalWebTestCase {
EOF;
$path = file_directory_path() . '/valid-opml.xml';
- file_save_data($opml, $path);
- return $path;
+ return file_save_data($opml, $path);
}
/**
@@ -169,8 +168,7 @@ EOF;
EOF;
$path = file_directory_path() . '/invalid-opml.xml';
- file_save_data($opml, $path);
- return $path;
+ return file_save_data($opml, $path);
}
/**
@@ -192,8 +190,7 @@ EOF;
EOF;
$path = file_directory_path() . '/empty-opml.xml';
- file_save_data($opml, $path);
- return $path;
+ return file_save_data($opml, $path);
}
function getRSS091Sample() {
@@ -226,8 +223,7 @@ EOF;
EOT;
$path = file_directory_path() . '/rss091.xml';
- file_save_data($feed, $path);
- return $path;
+ return file_save_data($feed, $path);
}
}