Resets static caches to make the test code match the client-side behavior.
File
- drupal/core/modules/translation/lib/Drupal/translation/Tests/TranslationTest.php, line 282
- Definition of Drupal\translation\Tests\TranslationTest.
Class
- TranslationTest
- Functional tests for the Translation module.
Namespace
Drupal\translation\Tests
Code
function resetCaches() {
drupal_static_reset('language_list');
$this
->rebuildContainer();
}