protected function EditorFilterDefaultFormatTestCase::resetFilterCaches in Editor 7
Rebuilds text format and permission caches in the thread running the tests.
1 call to EditorFilterDefaultFormatTestCase::resetFilterCaches()
- EditorFilterDefaultFormatTestCase::testDefaultTextFormats in ./
editor.test - Tests if the default text format is accessible to users.
File
- ./
editor.test, line 812 - Tests for Editor module.
Class
- EditorFilterDefaultFormatTestCase
- Copy of FilterDefaultFormatTestCase.
Code
protected function resetFilterCaches() {
filter_formats_reset();
$this
->checkPermissions(array(), TRUE);
}