function TranslationTestCase::resetCaches

Resets static caches to make the test code match the client-side behavior.

2 calls to TranslationTestCase::resetCaches()
TranslationTestCase::setUp in modules/translation/translation.test
Sets up a Drupal site for running functional and integration tests.
TranslationTestCase::testLanguageSwitchLinks in modules/translation/translation.test
Checks that the language switch links behave properly.

File

modules/translation/translation.test, line 263

Class

TranslationTestCase
Functional tests for the Translation module.

Code

function resetCaches() {
    drupal_static_reset('locale_url_outbound_alter');
}

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