summaryrefslogtreecommitdiff
path: root/modules/tracker/tracker.test
diff options
context:
space:
mode:
Diffstat (limited to 'modules/tracker/tracker.test')
-rw-r--r--modules/tracker/tracker.test7
1 files changed, 6 insertions, 1 deletions
diff --git a/modules/tracker/tracker.test b/modules/tracker/tracker.test
index c0233085c..f3f742e8c 100644
--- a/modules/tracker/tracker.test
+++ b/modules/tracker/tracker.test
@@ -9,7 +9,7 @@ class TrackerTest extends DrupalWebTestCase {
public static function getInfo() {
return array(
'name' => 'Tracker',
- 'description' => 'Create nodes and check for their display in the tracker listings.',
+ 'description' => 'Create and delete nodes and check for their display in the tracker listings.',
'group' => 'Tracker'
);
}
@@ -44,6 +44,11 @@ class TrackerTest extends DrupalWebTestCase {
$this->assertNoText($unpublished->title, t('Unpublished node do not show up in the tracker listing.'));
$this->assertText($published->title, t('Published node show up in the tracker listing.'));
$this->assertLink(t('My recent content'), 0, t('User tab shows up on the global tracker page.'));
+
+ // Delete a node and ensure it no longer appears on the tracker.
+ node_delete($published->nid);
+ $this->drupalGet('tracker');
+ $this->assertNoText($published->title, t('Deleted node do not show up in the tracker listing.'));
}
/**