Skip to content

Commit

Permalink
Merge pull request #14 from alldigitalrewards/DS-10576_remove-russia
Browse files Browse the repository at this point in the history
DS-10576: Removed russia from country mappings
  • Loading branch information
nicholasmejia authored Mar 5, 2024
2 parents 9a8c889 + d581ee6 commit 0a8b7dc
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
6 changes: 0 additions & 6 deletions src/CountryMapping.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,12 +86,6 @@ public function getMapping(): array
'flag' => $this->imageFlagBasePath . '/pt_BR.png',
'currency' => 'BRL',
],
[
'short_code' => 'RU',
'name' => 'Russia',
'flag' => $this->imageFlagBasePath . '/ru_RU.png',
'currency' => 'RUB',
],
[
'short_code' => 'CN',
'name' => 'China',
Expand Down
1 change: 0 additions & 1 deletion tests/ApprovedCountryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ public function testApprovedCountryReturnsFalse()

public function testApprovedCountryReturnsTrue()
{
$this->assertTrue((new CountryMapping())->isApprovedCountry('RU'));
$this->assertTrue((new CountryMapping())->isApprovedCountry('GB'));
$this->assertTrue((new CountryMapping())->isApprovedCountry('RO'));
}
Expand Down

0 comments on commit 0a8b7dc

Please sign in to comment.