diff options
Diffstat (limited to 'modules/forum/forum.test')
-rw-r--r-- | modules/forum/forum.test | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/forum/forum.test b/modules/forum/forum.test index 9da887f56..9faaad0f0 100644 --- a/modules/forum/forum.test +++ b/modules/forum/forum.test @@ -63,6 +63,11 @@ class ForumTestCase extends DrupalWebTestCase { $this->drupalLogin($this->any_user); // Verify the any forum user has access to all the forum nodes. $this->verifyForums($this->own_user, $node, TRUE); + + // Verify the topic and post counts on the forum page. + $this->drupalGet('forum'); + $this->assertRaw("<td class=\"topics\">\n 6 </td>"); + $this->assertRaw('<td class="posts">6</td>'); } /** |