protected function TaxonomyQueryAlterTestCase::setupQueryTagTestHooks in Drupal 7
Sets up the hooks in the test module.
1 call to TaxonomyQueryAlterTestCase::setupQueryTagTestHooks()
- TaxonomyQueryAlterTestCase::testTaxonomyQueryAlter in modules/
taxonomy/ taxonomy.test  - Tests that appropriate tags are added when querying the database.
 
File
- modules/
taxonomy/ taxonomy.test, line 2074  - Tests for taxonomy.module.
 
Class
- TaxonomyQueryAlterTestCase
 - Tests that appropriate query tags are added.
 
Code
protected function setupQueryTagTestHooks() {
  taxonomy_terms_static_reset();
  variable_set('taxonomy_test_query_alter', 0);
  variable_set('taxonomy_test_query_term_access_alter', 0);
  variable_set('taxonomy_test_query_taxonomy_term_access_alter', 0);
}