You are here

public function AccessPluginTest::setUp in Access Control Kit 7

Overrides DrupalWebTestCase::setUp().

Overrides DrupalWebTestCase::setUp

File

./access.test, line 1456
Tests for the access control kit module.

Class

AccessPluginTest
Tests the bundled scheme types and handlers.

Code

public function setUp() {
  parent::setUp(array(
    'access',
    'taxonomy',
  ));

  // We need to start without any defined vocabularies.
  foreach (taxonomy_vocabulary_get_names() as $vocabulary) {
    taxonomy_vocabulary_delete($vocabulary->vid);
  }
}