Lint
This commit is contained in:
parent
f30582a7c3
commit
0a2971399b
7 changed files with 53 additions and 53 deletions
|
@ -44,8 +44,8 @@ class LocaleMiddlewareTest extends TestCase
|
|||
{
|
||||
$this->markTestSkipped('For some reason, this test fails on Travis even if the fr_FR locale is installed.');
|
||||
$locale = [
|
||||
'language'=> 'fr',
|
||||
'region' => 'FR',
|
||||
'language' => 'fr',
|
||||
'region' => 'FR',
|
||||
];
|
||||
$this->assertEquals('fr_FR', $this->middleware->testLocale($locale));
|
||||
}
|
||||
|
@ -58,8 +58,8 @@ class LocaleMiddlewareTest extends TestCase
|
|||
public function testLocaleWithWrongLocale()
|
||||
{
|
||||
$locale = [
|
||||
'language'=> 'foo',
|
||||
'region' => 'BAR',
|
||||
'language' => 'foo',
|
||||
'region' => 'BAR',
|
||||
];
|
||||
$this->assertNull($this->middleware->testLocale($locale));
|
||||
$this->assertNull($this->middleware->testLocale([]));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue