diff --git a/tests/LocaleManagerTest.php b/tests/LocaleManagerTest.php index 2808362..0e88239 100644 --- a/tests/LocaleManagerTest.php +++ b/tests/LocaleManagerTest.php @@ -86,4 +86,15 @@ class LocaleManagerTest extends TestCase $this->localeManager->unsetLocale(); $this->assertNull($this->localeManager->getLocale()); } + + /** + * Test that the environment is correctly set up. + * + * @return void + */ + public function testEnv() + { + $this->localeManager->setLocale(new Locale('foo_BAR')); + $this->assertEquals('foo_BAR', getenv('LANG')); + } } diff --git a/tests/LocaleMiddlewareTest.php b/tests/LocaleMiddlewareTest.php index 2b85619..0db9f9f 100644 --- a/tests/LocaleMiddlewareTest.php +++ b/tests/LocaleMiddlewareTest.php @@ -131,14 +131,4 @@ class LocaleMiddlewareTest extends TestCase [$this, 'assertNoHeader'] ); } - - /** - * Test that the environment is correctly set up. - * - * @return void - */ - public function testEnv() - { - $this->markTestIncomplete('We need to find a way to reliably test LC_ALL and LANG values'); - } }