public function RequestTest::testGetLocale in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/http-foundation/Tests/RequestTest.php \Symfony\Component\HttpFoundation\Tests\RequestTest::testGetLocale()
File
- vendor/
symfony/ http-foundation/ Tests/ RequestTest.php, line 48
Class
Namespace
Symfony\Component\HttpFoundation\TestsCode
public function testGetLocale() {
$request = new Request();
$request
->setLocale('pl');
$locale = $request
->getLocale();
$this
->assertEquals('pl', $locale);
}