summaryrefslogtreecommitdiff
path: root/modules/aggregator/aggregator.test
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-09-25 15:20:12 +0000
committerDries Buytaert <dries@buytaert.net>2009-09-25 15:20:12 +0000
commit762be09fa98bf2c36cf45042c475a3bc9348e448 (patch)
tree614bff163539a82848044e96a2a5552b9c201420 /modules/aggregator/aggregator.test
parent92278086bb38a7b25272e6705c615fd9b8133f36 (diff)
downloadbrdo-762be09fa98bf2c36cf45042c475a3bc9348e448.tar.gz
brdo-762be09fa98bf2c36cf45042c475a3bc9348e448.tar.bz2
- Patch #578676 by chx | neclimdul, Crell, Dave Reid: introduce a queue for cron.
Diffstat (limited to 'modules/aggregator/aggregator.test')
-rw-r--r--modules/aggregator/aggregator.test3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/aggregator/aggregator.test b/modules/aggregator/aggregator.test
index 16d5e64ca..2439adbbc 100644
--- a/modules/aggregator/aggregator.test
+++ b/modules/aggregator/aggregator.test
@@ -128,7 +128,8 @@ class AggregatorTestCase extends DrupalWebTestCase {
*/
function updateAndRemove($feed, $expected_count) {
$this->updateFeedItems($feed, $expected_count);
- $this->assertText('There is new syndicated content from');
+ $count = db_query('SELECT COUNT(*) FROM {aggregator_item} WHERE fid = :fid', array(':fid' => $feed->fid))->fetchField();
+ $this->assertTrue($count);
$this->removeFeedItems($feed);
$count = db_query('SELECT COUNT(*) FROM {aggregator_item} WHERE fid = :fid', array(':fid' => $feed->fid))->fetchField();
$this->assertTrue($count == 0);