protected function FilterDefaultFormatTestCase::resetFilterCaches

Rebuilds text format and permission caches in the thread running the tests.

1 call to FilterDefaultFormatTestCase::resetFilterCaches()
FilterDefaultFormatTestCase::testDefaultTextFormats in drupal/modules/filter/filter.test
Tests if the default text format is accessible to users.

File

drupal/modules/filter/filter.test, line 795
Tests for filter.module.

Class

FilterDefaultFormatTestCase
Tests the default filter functionality in the Filter module.

Code

protected function resetFilterCaches() {
  filter_formats_reset();
  $this
    ->checkPermissions(array(), TRUE);
}