protected function FilterDefaultFormatTestCase::resetFilterCaches

7.x filter.test protected FilterDefaultFormatTestCase::resetFilterCaches()

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

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

File

drupal-7.x/modules/filter/filter.test, line 765
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);
}