function FilterFormatAccessTestCase::resetFilterCaches

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 732

Class

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

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.