function FilterDefaultFormatTestCase::resetFilterCaches

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 798

Class

FilterDefaultFormatTestCase
Tests the default filter 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.