1 filter.test protected FilterDefaultFormatTestCase::resetFilterCaches()

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

File

core/modules/filter/tests/filter.test, line 888
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);
}