function TranslationTestCase::resetCaches

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

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

File

drupal/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');
}