You are here

protected function EntityMetadataTaxonomyAccessTestCase::setUp in Entity API 7

@inheritdoc

Overrides DrupalWebTestCase::setUp

File

./entity.test, line 1381
Entity CRUD API tests.

Class

EntityMetadataTaxonomyAccessTestCase
Tests basic entity_access() functionality for taxonomy terms.

Code

protected function setUp() {
  parent::setUp('entity', 'taxonomy');

  // Clear permissions for authenticated users.
  db_delete('role_permission')
    ->condition('rid', DRUPAL_AUTHENTICATED_RID)
    ->execute();
}