You are here

protected function ViewsHandlerManyToOneTest::clearViewsDataCache in Views (for Drupal 7) 7.3

Clears views data cache.

1 call to ViewsHandlerManyToOneTest::clearViewsDataCache()
ViewsHandlerManyToOneTest::setUp in tests/handlers/views_handler_manytoone.test
Sets up a Drupal site for running functional and integration tests.

File

tests/handlers/views_handler_manytoone.test, line 57

Class

ViewsHandlerManyToOneTest
Tests the many to one helper handler class.

Code

protected function clearViewsDataCache() {
  drupal_static_reset('_views_fetch_data_cache');
  drupal_static_reset('_views_fetch_data_recursion_protected');
  drupal_static_reset('_views_fetch_data_fully_loaded');
}