function ForumAccessBaseTestCase::testAddOrphanTopic in Forum Access 7
Tests that forum nodes can't be added without a parent.
Verifies that forum nodes are not created without choosing "forum" from the select list.
Overrides ForumTestCase::testAddOrphanTopic
File
- tests/
forum_access_test_base.php, line 209 - Base class with auxiliary functions for forum access module tests.
Class
- ForumAccessBaseTestCase
- Base test class for the Forum Access module.
Code
function testAddOrphanTopic() {
// Skip test in the base class; too bad we can't skip the unnecessary setUp() call...
$this
->pass('==========================<br />Empty testAddOrphanTopic() @' . (time() - $this->time));
}