Basic testEnv test
This commit is contained in:
parent
c07322e160
commit
1b5e99403f
2 changed files with 11 additions and 10 deletions
|
@ -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'));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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');
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue