Ver Fonte

test: make I18nTest actually reload English translations again

rugk há 1 ano atrás
pai
commit
e676264616
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      tst/I18nTest.php

+ 1 - 1
tst/I18nTest.php

@@ -37,7 +37,7 @@ class I18nTest extends TestCase
     public function tearDown(): void
     {
         unset($_COOKIE['lang'], $_SERVER['HTTP_ACCEPT_LANGUAGE']);
-        unset($_SERVER['HTTP_ACCEPT_LANGUAGE']);
+        I18n::loadTranslations();
     }
 
     public function testTranslationFallback()