Skip to content

Commit

Permalink
BankExpressTransfer: UniCredit CZ now supported
Browse files Browse the repository at this point in the history
  • Loading branch information
vody105 authored and Milan Felix Šulc committed Oct 23, 2017
1 parent 17ec3c6 commit 1ff8ceb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions src/Api/Lists/SwiftCode.php
Expand Up @@ -11,6 +11,7 @@ class SwiftCode
const MBANK = 'BREXCZPP';
const FIO_BANKA = 'FIOBCZPP';
const CSOB = 'CEKOCZPP';
const UNICREDIT_BANK_CZ = 'BACXCZPP';
const ERA = 'CEKOCZPP-ERA';
const VSEOBECNA_VEROVA_BANKA_BANKA = 'SUBASKBX';
const TATRA_BANKA = 'TATRSKBX';
Expand Down Expand Up @@ -42,6 +43,7 @@ public static function cz()
self::FIO_BANKA,
self::CSOB,
self::ERA,
self::UNICREDIT_BANK_CZ,
];
}

Expand Down
4 changes: 2 additions & 2 deletions tests/cases/unit/Api/Lists/SwiftCode.phpt
Expand Up @@ -11,12 +11,12 @@ require __DIR__ . '/../../../../bootstrap.php';

// All
test(function () {
Assert::count(15, SwiftCode::all());
Assert::count(16, SwiftCode::all());
});

// CZ
test(function () {
Assert::count(7, SwiftCode::cz());
Assert::count(8, SwiftCode::cz());
});

// SK
Expand Down

0 comments on commit 1ff8ceb

Please sign in to comment.