1.20.x taxonomy.test protected TaxonomyQueryAlterTestCase::setupQueryTagTestHooks()

Sets up the hooks in the test module.

File

modules/taxonomy/tests/taxonomy.test, line 1956
Tests for taxonomy.module.

Class

TaxonomyQueryAlterTestCase
Tests that appropriate query tags are added.

Code

protected function setupQueryTagTestHooks() {
  taxonomy_terms_static_reset();
  state_set('taxonomy_test_query_alter', 0);
  state_set('taxonomy_test_query_term_access_alter', 0);
  state_set('taxonomy_test_query_taxonomy_term_access_alter', 0);
}