function TranslationTestCase::resetCaches
7.x translation.test | TranslationTestCase::resetCaches() |
Resets static caches to make the test code match the client-side behavior.
2 calls to TranslationTestCase::resetCaches()
- TranslationTestCase::setUp in drupal-7.x/
modules/ translation/ translation.test - Sets up a Drupal site for running functional and integration tests.
- TranslationTestCase::testLanguageSwitchLinks in drupal-7.x/
modules/ translation/ translation.test - Checks that the language switch links behave properly.
File
- drupal-7.x/
modules/ translation/ translation.test, line 261 - Tests for the Translation module.
Class
- TranslationTestCase
- Functional tests for the Translation module.
Code
function resetCaches() {
drupal_static_reset('locale_url_outbound_alter');
}