mirror of
https://github.com/Rudloff/alltube.git
synced 2024-06-28 07:40:53 +02:00
Basic testEnv test
This commit is contained in:
parent
c07322e160
commit
1b5e99403f
|
@ -86,4 +86,15 @@ class LocaleManagerTest extends TestCase
|
||||||
$this->localeManager->unsetLocale();
|
$this->localeManager->unsetLocale();
|
||||||
$this->assertNull($this->localeManager->getLocale());
|
$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']
|
[$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 New Issue
Block a user