You are here

protected function FilterDefaultFormatTestCase::resetFilterCaches in Drupal 7

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

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

File

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);
}