diff --git a/tests/phpunit/tests/l10n/wpTranslationController.php b/tests/phpunit/tests/l10n/wpTranslationController.php index 00afeaa095cea..22088b52ce38c 100644 --- a/tests/phpunit/tests/l10n/wpTranslationController.php +++ b/tests/phpunit/tests/l10n/wpTranslationController.php @@ -9,6 +9,7 @@ public function tear_down() { remove_all_filters( 'translation_file_format' ); unload_textdomain( 'wp-tests-domain' ); unload_textdomain( 'internationalized-plugin' ); + unset( $GLOBALS['l10n_unloaded']['wp-tests-domain'], $GLOBALS['l10n_unloaded']['internationalized-plugin'] ); parent::tear_down(); }