You are here

protected function FilterFormatAccessTestCase::resetFilterCaches in Drupal 7

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

2 calls to FilterFormatAccessTestCase::resetFilterCaches()
FilterFormatAccessTestCase::setUp in modules/filter/filter.test
Sets up a Drupal site for running functional and integration tests.
FilterFormatAccessTestCase::testFormatWidgetPermissions in modules/filter/filter.test
Tests editing a page using a disallowed text format.

File

modules/filter/filter.test, line 729
Tests for filter.module.

Class

FilterFormatAccessTestCase
Tests the filter format access functionality in the Filter module.

Code

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