function ViewsModuleTest::resetStaticViewsDataCache

Resets the views data cache.

1 call to ViewsModuleTest::resetStaticViewsDataCache()
ViewsModuleTest::testViewsFetchData in tests/views_module.test
Tests views_fetch_data().

File

tests/views_module.test, line 248

Class

ViewsModuleTest
Tests basic functions from the Views module.

Code

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