@@ -15,20 +15,20 @@ |
||
| 15 | 15 | { |
| 16 | 16 | $lookup = $this->maker->lookup(); |
| 17 | 17 | |
| 18 | - $this->assertEquals('Antarctica', $lookup['AQ']); |
|
| 18 | + $this->assertEquals('Antarctica', $lookup[ 'AQ' ]); |
|
| 19 | 19 | } |
| 20 | 20 | |
| 21 | 21 | public function testLocaleSetting() |
| 22 | 22 | { |
| 23 | 23 | $lookup = $this->maker->lookup('fr'); |
| 24 | 24 | |
| 25 | - $this->assertEquals('Antarctique', $lookup['AQ']); |
|
| 25 | + $this->assertEquals('Antarctique', $lookup[ 'AQ' ]); |
|
| 26 | 26 | } |
| 27 | 27 | |
| 28 | 28 | public function testReverseSetting() |
| 29 | 29 | { |
| 30 | 30 | $lookup = $this->maker->lookup(null, 'true'); |
| 31 | 31 | |
| 32 | - $this->assertEquals('AQ', $lookup['Antarctica']); |
|
| 32 | + $this->assertEquals('AQ', $lookup[ 'Antarctica' ]); |
|
| 33 | 33 | } |
| 34 | 34 | } |
@@ -16,20 +16,20 @@ |
||
| 16 | 16 | $keyValue = $this->maker->keyValue(); |
| 17 | 17 | |
| 18 | 18 | $this->assertEquals(249, $keyValue->count()); |
| 19 | - $this->assertEquals((object)[ 'key' => 'AF', 'value' => 'Afghanistan' ], $keyValue->first()); |
|
| 19 | + $this->assertEquals((object) [ 'key' => 'AF', 'value' => 'Afghanistan' ], $keyValue->first()); |
|
| 20 | 20 | } |
| 21 | 21 | |
| 22 | 22 | public function testAlternativeLocale() |
| 23 | 23 | { |
| 24 | 24 | $keyValue = $this->maker->keyValue('es'); |
| 25 | 25 | |
| 26 | - $this->assertEquals((object)[ 'key' => 'AF', 'value' => 'Afganistán' ], $keyValue->first()); |
|
| 26 | + $this->assertEquals((object) [ 'key' => 'AF', 'value' => 'Afganistán' ], $keyValue->first()); |
|
| 27 | 27 | } |
| 28 | 28 | |
| 29 | 29 | public function testAlternativeKeys() |
| 30 | 30 | { |
| 31 | 31 | $keyValue = $this->maker->keyValue(null, 'label', 'text'); |
| 32 | 32 | |
| 33 | - $this->assertEquals((object)[ 'label' => 'ZW', 'text' => 'Zimbabwe' ], $keyValue->last()); |
|
| 33 | + $this->assertEquals((object) [ 'label' => 'ZW', 'text' => 'Zimbabwe' ], $keyValue->last()); |
|
| 34 | 34 | } |
| 35 | 35 | } |
@@ -15,7 +15,7 @@ discard block |
||
| 15 | 15 | { |
| 16 | 16 | $lookup = $this->maker->lookup()->put('ZZ', 'My Country')->sort(); |
| 17 | 17 | |
| 18 | - $this->assertEquals('My Country', $lookup['ZZ']); |
|
| 18 | + $this->assertEquals('My Country', $lookup[ 'ZZ' ]); |
|
| 19 | 19 | } |
| 20 | 20 | |
| 21 | 21 | public function testRemoveRegions() |
@@ -34,6 +34,6 @@ discard block |
||
| 34 | 34 | }); |
| 35 | 35 | |
| 36 | 36 | $this->assertArrayNotHasKey('GB', $lookup->toArray()); |
| 37 | - $this->assertEquals('United Kingdom', $lookup['UK']); |
|
| 37 | + $this->assertEquals('United Kingdom', $lookup[ 'UK' ]); |
|
| 38 | 38 | } |
| 39 | 39 | } |