protected function FilterDefaultFormatTestCase::resetFilterCaches

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

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

Archivo

drupal-7.x/modules/filter/filter.test, line 765
Tests for filter.module.

Class

FilterDefaultFormatTestCase
Tests the default filter functionality in the Filter module.

Código

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