You are here

function ForumAccess00PlainTestCase::testAddOrphanTopic in Forum Access 7

This test assumes that the node/add/forum page is accessible if there are no forums defined. FA checks whether $user has Post access in any forum, and if none is found, it returns a 403. This fulfills the intention of the test.

Overrides ForumTestCase::testAddOrphanTopic

See also

ForumTestCase::testAddOrphanTopic()

File

tests/forum_access.test, line 60

Class

ForumAccess00PlainTestCase
Functional tests for the Forum module, with Forum Access (and ACL) installed.

Code

function testAddOrphanTopic() {
  $this
    ->assertTrue(TRUE, 'Skip the testAddOrphanTopic() test.');
}