You are here

public function AckNodeAccessTest::testTaxonomyAccess in Access Control Kit 7

Test controlling access with the taxonomy index.

File

ack_node/ack_node.test, line 297
Tests for the ACK node module.

Class

AckNodeAccessTest
Tests the node access functions.

Code

public function testTaxonomyAccess() {
  $this
    ->setUpTaxonomy('test_taxonomy_access', 'ACKNodeTaxonomyIndex');
  $this
    ->assertTaxonomyAccess('test_taxonomy_access');
}