You are here

function TranslationTestCase::resetCaches in Drupal 7

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 261
Tests for the Translation module.

Class

TranslationTestCase
Functional tests for the Translation module.

Code

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