Skip to content

Commit

Permalink
Merge pull request #2 from smreichling/add-ee-lt-lv
Browse files Browse the repository at this point in the history
Moving Estonia, Lithuania, and Latvia to the euro
  • Loading branch information
makasim authored Aug 4, 2016
2 parents 40260c5 + 310b994 commit 6a45480
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 17 deletions.
18 changes: 2 additions & 16 deletions ISO4217.php
Original file line number Diff line number Diff line change
Expand Up @@ -414,8 +414,8 @@ protected function create(array $currency)
'alpha3' => 'EUR',
'numeric' => '978',
'exp' => 2,
'country' => array('AD', 'AT', 'AX', 'BE', 'BL', 'CY', 'DE', 'ES', 'FI', 'FR', 'GF', 'GP', 'GR', 'IE', 'IT', 'LU', 'MC',
'ME', 'MF', 'MQ', 'MT', 'NL', 'PM', 'PT', 'RE', 'SI', 'SK', 'SM', 'TF', 'VA', 'YT', 'ZW'),
'country' => array('AD', 'AT', 'AX', 'BE', 'BL', 'CY', 'DE', 'EE', 'ES', 'FI', 'FR', 'GF', 'GP', 'GR', 'IE', 'IT', 'LT',
'LU', 'LV', 'MC', 'ME', 'MF', 'MQ', 'MT', 'NL', 'PM', 'PT', 'RE', 'SI', 'SK', 'SM', 'TF', 'VA', 'YT', 'ZW'),
),
array(
'name' => 'Fiji Dollar',
Expand Down Expand Up @@ -684,20 +684,6 @@ protected function create(array $currency)
'exp' => 2,
'country' => 'LS',
),
array(
'name' => 'Lithuanian Litas',
'alpha3' => 'LTL',
'numeric' => '440',
'exp' => 2,
'country' => 'LT',
),
array(
'name' => 'Latvian Lats',
'alpha3' => 'LVL',
'numeric' => '428',
'exp' => 2,
'country' => 'LV',
),
array(
'name' => 'Libyan Dinar',
'alpha3' => 'LYD',
Expand Down
2 changes: 1 addition & 1 deletion ISO4217Test.php
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ public function testFindAll()
$currencies = $iso4217->findAll();

$this->assertInternalType('array', $currencies);
$this->assertCount(157, $currencies);
$this->assertCount(155, $currencies);

$this->assertContainsOnly('Payum\ISO4217\Currency', $currencies);
}
Expand Down

0 comments on commit 6a45480

Please sign in to comment.